refreshProviderConfig updates the issuer URL and sets the discovery endpoint in provider configuration.
(providers auth.OIDCProviderMap, issuer string)
| 955 | // refreshProviderConfig updates the issuer URL and sets the discovery endpoint |
| 956 | // in provider configuration. |
| 957 | func refreshProviderConfig(providers auth.OIDCProviderMap, issuer string) { |
| 958 | for name, provider := range providers { |
| 959 | provider.Issuer = issuer + "/" + name |
| 960 | provider.DiscoveryURI = auth.GetStandardDiscoveryEndpoint(provider.Issuer) |
| 961 | } |
| 962 | } |
| 963 | |
| 964 | // getCookie returns the specified cookie by name if it exists in the given |
| 965 | // set of cookies and nil otherwise. |
no test coverage detected