Skip to content

Commit

Permalink
Merge pull request #365 from JokerQyou/patch-1
Browse files Browse the repository at this point in the history
Fix wrong response_type parsed when missing response_mode
  • Loading branch information
lakhansamani authored Jun 30, 2023
2 parents 7f47177 + 356428e commit 9ae616b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/handlers/authorize.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ func AuthorizeHandler() gin.HandlerFunc {

if responseMode == "" {
if val, err := memorystore.Provider.GetStringStoreEnvVariable(constants.EnvKeyDefaultAuthorizeResponseMode); err == nil {
responseType = val
responseMode = val
} else {
responseType = constants.ResponseModeQuery
responseMode = constants.ResponseModeQuery
}
}

Expand Down

0 comments on commit 9ae616b

Please sign in to comment.