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

example #3

Open
reesericci opened this issue Apr 12, 2021 · 4 comments
Open

example #3

reesericci opened this issue Apr 12, 2021 · 4 comments

Comments

@reesericci
Copy link

Can I please have some example integration with various oauth providers?

@reesericci
Copy link
Author

I'm trying to integrate with discord

@aadityaverma
Copy link

trying to use Memberful, please any example will help

@maeries
Copy link

maeries commented Sep 16, 2021

I second this. Or even better make the plugin autofil as many fields as possible for common providers. Most tools only need the client ID and client secret to make google oauth work

@maeries
Copy link

maeries commented Sep 20, 2021

Got it working using this

Setting Required? Description Values for Google
Provider display name The text that is displayed in a button next to the login form.
Client ID yes The client id string assigned to you by the provider.
Client secret yes The client secret string assigned to you by the provider. <random string>apps.googleusercontent.com
Domain yes The fully qualified domain name for the provider. example: auth.example.com /
Scope yes One or more Scope names separated by a single space. email openid profile
Authorize URL path yes The URL from the provider that signs the user in. example: /oauth2/authorize accounts.google.com/o/oauth2/auth
Token URL path yes The URL from the provider that gets the user's access tokens. example: /oauth2/token oauth2.googleapis.com/token
Identity URL path yes The URL from the provider that returns information about the authenticated user in a JSON format. example: /oauth2/userInfo www.googleapis.com/oauth2/v3/userinfo
Identity username field yes The name of the field that contains the user's username. Haven't found something useful yet
Identity email field yes The name of the field that contains the user's email. email
Send identity token sent via HTTP header? Enable this setting to pass the access token using the Authorization header when requesting information about the authenticated user. Required for AWS Cognito. yes
Identity access token URL parameter name The URL parameter name used to pass the access token when requesting information about the authenticated user. Required if the access token is sent via the URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants