Skip to content

Commit

Permalink
🔀 Add Docs section for Authorized redirect URIs (astro-community#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
riyaadh-abrahams authored Sep 22, 2022
1 parent b9dff72 commit aa651e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/pages/providers/oauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ layout: ../../layouts/MainLayout.astro

OAuth providers will probably be the most common reason for developers to use Astro Auth. Astro Auth supports PKCE security mechanism as well.

## Authorized redirect URIs

The "Authorized redirect URIs" must be configured on your OAuth provider's console.

- For production: https://{YOUR_DOMAIN}/api/auth/oauth/{PROVIDER}
- For development: http://localhost:3000/api/auth/oauth/{PROVIDER}

## OAuth Providers

Inside the `@astro-auth/provider` package, you will find 8 OAuth providers including their own UI components in the `@astro-auth/ui` package. Here is the list of OAuth providers:
Expand Down

0 comments on commit aa651e3

Please sign in to comment.