Skip to content

Commit 89e99e8

Browse files
committed
fix: add docs for clerk adapter
1 parent 6c602fc commit 89e99e8

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

  • adminforth/documentation/docs/tutorial/09-Plugins

adminforth/documentation/docs/tutorial/09-Plugins/11-oauth.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -485,12 +485,11 @@ pnpm install @adminforth/clerk-oauth-adapter --save
485485
```
486486

487487
1. Go to the [Clerk Dashboard](https://dashboard.clerk.com) and open your application.
488-
2. In the left sidebar, go to **Configure****OAuth Applications**.
488+
2. In the left sidebar, go to **Configure****Developers****OAuth Applications**.
489489
3. Click **Add OAuth Application**, give it a name.
490-
4. In **Redirect URIs**, add `https://your-domain/oauth/callback` (and `http://localhost:3500/oauth/callback` for local development). Include `baseUrl` when your AdminForth app uses it, for example `https://your-domain/base/oauth/callback`.
491-
5. Copy **Client ID** and **Client Secret**.
492-
6. To find your **Frontend API URL**: go to **Configure****API Keys** — it is listed under **Frontend API** (looks like `https://xxx-yyy-00.clerk.accounts.dev`).
493-
7. Add the credentials to your `.env` file:
490+
4. Copy **Client Secret** from the OAuth application creation modal.
491+
5. After copying, Clerk redirects you to the application page, where you can copy the **Client ID** and **Domain**.
492+
6. Add the credentials to your `.env` file:
494493

495494
```bash
496495
CLERK_CLIENT_ID=your_clerk_client_id

0 commit comments

Comments
 (0)