We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 987219a commit d6cee7cCopy full SHA for d6cee7c
routers/web/auth/oauth2_provider.go
@@ -248,7 +248,7 @@ func AuthorizeOAuth(ctx *context.Context) {
248
}, form.RedirectURI)
249
return
250
}
251
- if err := ctx.Session.Set("CodeChallengeMethod", form.CodeChallenge); err != nil {
+ if err := ctx.Session.Set("CodeChallenge", form.CodeChallenge); err != nil {
252
handleAuthorizeError(ctx, AuthorizeError{
253
ErrorCode: ErrorCodeServerError,
254
ErrorDescription: "cannot set code challenge",
0 commit comments