oauth2: Reject authorization requests for invalid scopes before redirecting to consent endpoint #776
Labels
breaking change
Changes behavior in a breaking manner.
feat
New feature or request.
package/oauth2
upstream
Issue is caused by an upstream dependency.
Milestone
Currently, authorization requests fail when a client is being granted scopes that the client is not allowed to request - after consent.
We should add an additional check that makes sure that the client isn't able to request scopes he isn't allowed to request before doing consent.
We should keep the check after consent as well to make sure he wasn't accidentally granted scopes he isn't allowed to request.
The text was updated successfully, but these errors were encountered: