feat: fix Auto-login causing AuthCodeWithPKCE Failures (#2911)

This commit is contained in:
filwaline 2024-04-30 12:14:50 +08:00 committed by GitHub
parent 227e938db6
commit 199f1d4d10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ func fastAutoSignin(ctx *context.Context) (string, error) {
scope := ctx.Input.Query("scope")
state := ctx.Input.Query("state")
nonce := ""
codeChallenge := ""
codeChallenge := ctx.Input.Query("code_challenge")
if clientId == "" || responseType != "code" || redirectUri == "" {
return "", nil
}