OIdC Provider: Replace new client secret on Update provider request

This commit is contained in:
Akshay Gaikwad
2022-05-06 13:00:46 +05:30
parent 1f1d04ac29
commit a308b59b07

View File

@@ -384,7 +384,7 @@ func (s *oidcProvider) Update(ctx context.Context, provider *systemv3.OIDCProvid
MapperURL: mapUrl,
MapperFilename: provider.Spec.GetMapperFilename(),
ClientId: provider.Spec.GetClientId(),
ClientSecret: existingP.ClientSecret,
ClientSecret: provider.Spec.GetClientSecret(),
Scopes: provider.Spec.GetScopes(),
IssuerURL: issUrl,
AuthURL: authUrl,