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