OIDC: make callback URL paths deterministic. (#1188)
This commit is contained in:
15 files changed
+51
-28
No files matched your search
@@ -684,7 +684,7 @@ func (c *Command) startDevOidcAuthMethod() error {
|
||||
PubKey: ed25519.PublicKey(c.oidcSetup.pubKey),
|
||||
Alg: capoidc.EdDSA,
|
||||
},
|
||||
AllowedRedirectURIs: []string{fmt.Sprintf("%s/v1/auth-methods/%s:authenticate:callback", c.oidcSetup.callbackUrl.String(), c.DevOidcAuthMethodId)},
|
||||
AllowedRedirectURIs: []string{fmt.Sprintf("%s/v1/auth-methods/oidc:authenticate:callback", c.oidcSetup.callbackUrl.String())},
|
||||
ClientID: &c.oidcSetup.clientId,
|
||||
ClientSecret: &clientSecret,
|
||||
}))
|
||||
|
||||
Reference in new issue
Block a user