Skip to content

Commit

Permalink
change private key wording to secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
merissaacosta committed May 7, 2024
1 parent a68f418 commit 43fcc2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<div class="flex flex-col space-y-4 mt-2 max-w-xl text-sm text-gray-500">
<p>Let's get set up using Passwordless.dev. Please feel free to read all the <a target="_blank" href="https://docs.passwordless.dev" class="link-blue">documentation</a>.</p>

<p>Here are your API keys. You will use these to access the Passwordless api. The public API key is used client side and is safe to share, while the private API key is used on your backend and should never be exposed.</p>
<p>Here are your API keys. You will use these to access the Passwordless api. The public API key is used client side and is safe to share, while the secret API key is used on your backend and should never be exposed.</p>
</div>

<div class="mt-5 max-w-3xl rounded-md bg-gray-50 px-6 py-5 sm:flex sm:items-start sm:justify-between">
<div class="sm:flex sm:items-start">
<div class="mt-3 sm:ml-4 sm:mt-0">
<CopyInputField Value="@PasswordlessOptions.Value.ApiUrl" Title="API Url"/>
<CopyInputField Value="@PublicApiKey" Title="Public API Key"/>
<CopyInputField Value="@PrivateApiKey" Title="Private API Key" Type="password" />
<CopyInputField Value="@SecretApiKey" Title="Secret API Key" Type="password" />

<div class="mt-1 text-sm font-medium text-red-900">
Download and store them safely!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public GetStarted()

public string? PublicApiKey { get; private set; }

public string? PrivateApiKey { get; private set; }
public string? SecretApiKey { get; private set; }

protected override async Task OnInitializedAsync()
{
Expand All @@ -41,7 +41,7 @@ protected override async Task OnInitializedAsync()
if (onboarding == null) throw new Exception("Onboarding not found");

PublicApiKey = onboarding.ApiKey;
PrivateApiKey = onboarding.ApiSecret;
SecretApiKey = onboarding.ApiSecret;

_isInitialized = true;
}
Expand Down

0 comments on commit 43fcc2e

Please sign in to comment.