Skip to content

Commit 1f7401e

Browse files
committed
docs: update docs for oauth
AdminForth/1747/here-we-should-not-use-localho
1 parent b38e63e commit 1f7401e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ plugins: [
145145
4. Create credentials for OAuth 2.0 client IDs.
146146
5. Select application type: "Web application".
147147
6. Add your application's name and redirect URI.
148-
7. In "Authorized redirect URIs", add `https://your-domain/oauth/callback` and `http://localhost:3500/oauth/callback`. Include `baseUrl` when your AdminForth app uses it, for example `https://your-domain/base/oauth/callback`.
148+
7. In "Authorized redirect URIs", add `https://your-domain/oauth/callback` (for production) and `http://localhost:3500/oauth/callback`(for local, where 3500 - is your app port). Include `baseUrl` when your AdminForth app uses it, for example `https://your-domain/base/oauth/callback`.
149149
8. Add the credentials to your `.env` file:
150150

151151
```bash

0 commit comments

Comments
 (0)