The second authorization with the same scope and offline access has an unexpected dialog

If I specify access_type = offline in the auth url and the user tries to execute it a second time, I get a window saying that he is requesting offline access.

I would suggest that it is already allowed and therefore does not require additional permissions

Any ideas?

Edit:

A bit more information. For the first time, he does not mention the user about the need for offline access. I would have thought that standalone permission would be mentioned in the original auth anyway.

Edit 2:

Additional information about my use case. In our system, it is possible to have two accounts, but then use the same Google account. This means that we don’t have a way to find out that the user has already allowed work with Google, and therefore you need to provide authorization for the second user again.

The first time (for user 1) you are informed that the application requests:

View and manage your Google Drive files that you have opened or created with this application

View and manage files and documents in Google Drive

The second time (for user 2) you are informed that the application asks:

Offline access

This seems to me wrong.

Aside:

" " , . , . , , (.. ).

+2

All Articles