Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oauth2: Rejects reqeuests with insufficient permissions
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. This patch resolves the addressed issue Closes #776
- Loading branch information