We're developing one web application which has multiple user types access Google APIs via OAuth 2.0.
Is it possible to set up different consent screen settings for different user types. For example, user of accounting department will see product logo and product name of accounting.
If you want to change the email address that is displayed to the user you have to: Add permission for the new email address to handle the project: Menu > IAM & Admin > IAM , then click on the Add button, enter the email address and select Role > Project > Owner. Accept the invitation from the new email address.
Configure OAuth consent & register your appIn the Google Cloud console, go to Menu menu > APIs & Services > OAuth consent screen. Select the user type for your app, then click Create. Complete the app registration form, then click Save and Continue.
The OAuth consent screen is a prompt that tells users who's requesting access to their data and what kind of data users are allowing your app to access.
No there is only one consent screen per project. You can't change it programmatically either. Your only option would be to create different project with different consent screens, but then you would have a problem with the fact you will have different Client_id's and they wont mix and match.
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