Closed
Description
Specify your setup
- Operating System: macOS Sonoma 14.1
- Node version: 18.12.1
- npm version: Not applicable
- version of @node-oauth/oauth2-server:
release-5.0.0
branch - which OAuth2 workflow: Authorization Code
- at which workflow step does the error occur: Authorization Request
Describe the bug
PR #197 fix got removed after a merge commit.
More specifically this merge commit: 6758bff
To Reproduce
This bug is currently present on the release-5.0.0
branch.
Expected behavior
Should also receive the code_challenge
and code_challenge_method
through the query params.
getCodeChallenge (request) {
return request.body.code_challenge || request.query.code_challenge;
}
getCodeChallengeMethod (request) {
const algorithm = request.body.code_challenge_method || request.query.code_challenge_method;
...
}
Additional context
None
Metadata
Metadata
Assignees
Labels
No labels