Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google developers console, different consent screen settings for different users

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.

like image 575
Trang Tung Nguyen Avatar asked Dec 15 '14 11:12

Trang Tung Nguyen


People also ask

How do I change user support email in OAuth consent screen?

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.

How do I set Google OAuth consent screen?

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.

What is consent screen?

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.


1 Answers

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.

like image 137
DaImTo Avatar answered Sep 28 '22 07:09

DaImTo