Description
Currently, the consent screen is skipped only if we request the exact same scopes as we did for the previous token. I think it could be improved to only display consent screen if there is a new scope requested. In other words, a scope that is not present in any active token for this user.
Example: now, if we previously granted scopeA
, scopeB
and scopeC
to some app and then have another token requested for scopeA
and scopeC
, the consent screen will be displayed. But if we request a token for the exact same set of scopes (scopeA
, scopeB
, scopeC
), the consent screen is skipped. Also, if after accepting token for scopeA
, scopeB
and scopeC
we accept another token for scopeA
and scopeC
, another token request will only skip consent screen for scopeA
and scopeC
set. I don't see why would we want to skip the consent screen only for the exact same scope set as the last token we requested.