Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Harden AuthCodeGrant::canRespondToAccessTokenRequest (#25)
* Skip (additional) checks when grant_type isn't even authorization_code * Simplify check whether code request parameter is present * Handle exception when code can't be decrypted (for example when sending empty value, or any value which isn't properly encrypted) * Add check whether decoded token contains scopes (to prevent undefined variable error when it isn't)
- Loading branch information