From 43fcc2e313e3eff26f76d58ee07e4adfdbe63c4e Mon Sep 17 00:00:00 2001 From: Merissa Weinstein Date: Tue, 7 May 2024 11:27:16 -0500 Subject: [PATCH] change private key wording to secret key --- .../Components/Pages/App/Onboarding/GetStarted.razor | 4 ++-- .../Components/Pages/App/Onboarding/GetStarted.razor.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AdminConsole/Components/Pages/App/Onboarding/GetStarted.razor b/src/AdminConsole/Components/Pages/App/Onboarding/GetStarted.razor index d7b6c0274..81b9d933f 100644 --- a/src/AdminConsole/Components/Pages/App/Onboarding/GetStarted.razor +++ b/src/AdminConsole/Components/Pages/App/Onboarding/GetStarted.razor @@ -17,7 +17,7 @@

Let's get set up using Passwordless.dev. Please feel free to read all the documentation.

-

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.

+

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.

@@ -25,7 +25,7 @@
- +
Download and store them safely! diff --git a/src/AdminConsole/Components/Pages/App/Onboarding/GetStarted.razor.cs b/src/AdminConsole/Components/Pages/App/Onboarding/GetStarted.razor.cs index a69bd117c..66683d260 100644 --- a/src/AdminConsole/Components/Pages/App/Onboarding/GetStarted.razor.cs +++ b/src/AdminConsole/Components/Pages/App/Onboarding/GetStarted.razor.cs @@ -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() { @@ -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; }