Im using oauth2 for my app. Im getting google user profile information. Every thing is working fine. I want to know if there's any way to skip user consent screen? I want to get access token without showing "Allow access" step.
Thanks!
All apps using OAuth 2.0 require a consent screen configuration, but you only need to list scopes for apps used by people outside your Google Workspace organization. Tip: If you don't know required consent screen information, you can use placeholder information prior to release.
Head to the APIs page and select your API. In the Settings you'll see an option to Allow Skipping User Consent which you should enable. This option is also documented in more detail here. Note: This toggle allows skipping consent for verifiable first party clients.
What you could do, is submit the app for verification anyway and once you get a reply from this email -> "oauth-f... @google.com" You could explain to them, the application is for internal us, no verification is needed and if they could remove the logo.
If a user authenticates through a third-party application and the application requests authorization to access the user's information or perform some action at an API on their behalf, the user will see a consent dialog. For example, this request: GET /authorize?
No.
This is what oAuth is all about - you get a token, only after the user has been authenticated and authorized your web-app to use his info.
No. But you can skip the second time.
I found the good explanation about this question:
Why does Google OAuth2 re-ask user for permission when i send them to auth url again
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With