From 34f6f97e9ba00201efbef1484fd14144c72fcd66 Mon Sep 17 00:00:00 2001 From: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com> Date: Tue, 22 Aug 2023 14:36:57 +0000 Subject: [PATCH] add docs on the type of providers for auth (#225) --- apps/docs/pages/get-started/setup-env.mdx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/apps/docs/pages/get-started/setup-env.mdx b/apps/docs/pages/get-started/setup-env.mdx index c4ad4fea..566c1dae 100644 --- a/apps/docs/pages/get-started/setup-env.mdx +++ b/apps/docs/pages/get-started/setup-env.mdx @@ -11,17 +11,23 @@ to Cleark Auth. create a new account if you don't have one yet. 2. Once logged in, go to your dashboard at - [https://dashboard.clerk.com/](https://dashboard.clerk.com/) and create a new - app if you haven't already. + [https://dashboard.clerk.com/](https://dashboard.clerk.com/) and select + create a new app if you do not have any application already. -3. After setting up your app minimally, navigate to the "DEVELOPERS" section in - the left-hand menu and find "API Keys." +3. On the create new app screen, enter your app name and select **Google** and + or **GitHub** under the section _How will your users sign in?_ -4. In the "Quick Copy" section, make sure that Next.js is selected, then click + > Please note that using other providers will cause issues in the application + > due to the different payload received from Clerk. + +4. After setting up your app, navigate to the "DEVELOPERS" section in the + left-hand menu and find "API Keys." + +5. In the "Quick Copy" section, make sure that Next.js is selected, then click the copy icon to obtain the keys. Copy the values for "NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY" and "CLERK_SECRET_KEY." -5. Paste these values into the `.env` file under their respective variables. It +6. Paste these values into the `.env` file under their respective variables. It should look something like this (real values without censorship): ``` -- 2.51.2