Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add register callback url step to provider dashboard #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion content/docs/config/social-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ FACEBOOK_CLIENT_SECRET=your-facebook-client-secret

The example above is what it would look like to add your social authentication with `GOOGLE` and `FACEBOOK`.

## Add callback URL in your provider's dashboard

Combine your `app url` with the `callback uri`: `/auth/{driver}/callback`

Examples:
- `http://localhost:8000/auth/google/callback`
- `http://localhost:8000/auth/facebook/callback`

This will register the callback route as a valid route for your provider and will prevent errors like `redirect_uri is not associated with this application.`

### Visual Indicators

In the setup screen, you will see a list of social providers with key icons next to them:
Expand All @@ -76,4 +86,4 @@ Remember that everything needs to be setup correctly. In the social network setu

## Show Social Providers on Login:

Inside of your authentication setup page, you will see an option titled: **Login Show Social Providers**. If this is toggled off, the social provider buttons will not be visible by default. If a user then enters their email and it's associated with a social network, that network button will show up in place of the Email/Identifer input.
Inside of your authentication setup page, you will see an option titled: **Login Show Social Providers**. If this is toggled off, the social provider buttons will not be visible by default. If a user then enters their email and it's associated with a social network, that network button will show up in place of the Email/Identifer input.