Open reesericci opened 3 years ago
I'm trying to integrate with discord
trying to use Memberful, please any example will help
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
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. | |
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. |
Can I please have some example integration with various oauth providers?