Fix doubled /authorize/ in OIDC auth URL
This commit is contained in:
@@ -165,7 +165,7 @@ func startOIDCServer() *http.Server {
|
|||||||
oidcSessions[sessionID] = &oidcSession{apiUrl: apiUrl, verifier: verifier, state: state, ch: ch}
|
oidcSessions[sessionID] = &oidcSession{apiUrl: apiUrl, verifier: verifier, state: state, ch: ch}
|
||||||
oidcSessionsMu.Unlock()
|
oidcSessionsMu.Unlock()
|
||||||
|
|
||||||
authURL := fmt.Sprintf("%s/authorize/?%s",
|
authURL := fmt.Sprintf("%s?%s",
|
||||||
strings.TrimRight(oidcCfg.AuthorizationEndpoint, "/"),
|
strings.TrimRight(oidcCfg.AuthorizationEndpoint, "/"),
|
||||||
url.Values{
|
url.Values{
|
||||||
"response_type": {"code"},
|
"response_type": {"code"},
|
||||||
|
|||||||
Reference in New Issue
Block a user