Keep trailing slash on authorize endpoint URL
This commit is contained in:
@@ -166,7 +166,7 @@ func startOIDCServer() *http.Server {
|
|||||||
oidcSessionsMu.Unlock()
|
oidcSessionsMu.Unlock()
|
||||||
|
|
||||||
authURL := fmt.Sprintf("%s?%s",
|
authURL := fmt.Sprintf("%s?%s",
|
||||||
strings.TrimRight(oidcCfg.AuthorizationEndpoint, "/"),
|
oidcCfg.AuthorizationEndpoint,
|
||||||
url.Values{
|
url.Values{
|
||||||
"response_type": {"code"},
|
"response_type": {"code"},
|
||||||
"client_id": {oidcCfg.ClientID},
|
"client_id": {oidcCfg.ClientID},
|
||||||
|
|||||||
Reference in New Issue
Block a user