add AuthClientID

This commit is contained in:
mlsmaycon
2026-02-08 19:41:52 +01:00
parent 1c5ab7cb8f
commit cf9fd5d960
2 changed files with 3 additions and 1 deletions

View File

@@ -184,7 +184,7 @@ func (s *BaseServer) proxyOIDCConfig() nbgrpc.ProxyOIDCConfig {
return nbgrpc.ProxyOIDCConfig{
Issuer: s.Config.HttpConfig.AuthIssuer,
// todo: double check auth clientID value
ClientID: s.Config.HttpConfig.AuthAudience, // Reuse dashboard client
ClientID: s.Config.HttpConfig.AuthClientID, // Reuse dashboard client
Scopes: []string{"openid", "profile", "email"},
CallbackURL: callbackURL,
HMACKey: []byte(s.Config.DataStoreEncryptionKey), // Use the datastore encryption key for OIDC state HMACs, this should ensure all management instances are using the same key.