Consent screen appearing after Google Apps install

2019-06-05 21:06发布

问题:

We have recently migrated our app to oauth2 in the Google Apps Marketplace.

While the installation process goes very well, the first time the admin launch the app, a consent screen appears for the scopes that have already been accepted at the domaine level.

The call to oauth2 at the authentication is the following:

https://accounts.google.com/o/oauth2/auth?response_type=code
&client_id=....
&redirect_uri=...
&scope=email%20profile
&state=....
&access_type=online
&approval_prompt=auto
&include_granted_scopes=true
&hd=...

I do not see any reason for the consent screen to appear again.

Any idea?