How to white-label the OAuth2 flow for OAuth2-based apps
App
with oauth2
authentication method.
Create an OAuth2 client in the App provider's dev portal
GMAIL
, you need to create an OAuth2 client in the google cloud console.Configure OAuth2 scopes in your OAuth2 client
All
listed scopes on the popup window.Set redirect URL in your OAuth2 client
https://your-domain.com/oauth2/callback
Copy the OAuth2 client ID and secret
client id
and client secret
from the OAuth2 client you created.