mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 10:45:47 +08:00
feat: fix Auto-login causing AuthCodeWithPKCE Failures (#2911)
This commit is contained in:
parent
227e938db6
commit
199f1d4d10
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user