From 829bfad105fba5d414c20c6f129a26085c82bb34 Mon Sep 17 00:00:00 2001 From: Ryan Derr Date: Fri, 11 Sep 2026 16:01:10 -0500 Subject: [PATCH] fixup! feat(oidc): Creation Of New Provider Type Option For Provider Config --- oidc/docs_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oidc/docs_test.go b/oidc/docs_test.go index 7d6e0fe6..72199f8c 100644 --- a/oidc/docs_test.go +++ b/oidc/docs_test.go @@ -1,4 +1,4 @@ -// Copyright IBM Corp. 2020, 2025 +// Copyright IBM Corp. 2020, 2026 // SPDX-License-Identifier: MPL-2.0 package oidc_test @@ -95,7 +95,7 @@ func ExampleNewConfig() { fmt.Println(pc) // Output: - // &{your_client_id [REDACTED: client secret] [openid] http://your_issuer/ [RS256] [http://your_redirect_url/callback] [] } + // &{your_client_id [REDACTED: client secret] [openid] http://your_issuer/ [RS256] [http://your_redirect_url/callback] [] } } func ExampleWithProviderConfig() { @@ -120,7 +120,7 @@ func ExampleWithProviderConfig() { fmt.Println(string(val)) // Output: - // {"ClientID":"your_client_id","ClientSecret":"[REDACTED: client secret]","Scopes":["openid"],"Issuer":"https://your_issuer/","SupportedSigningAlgs":["RS256"],"AllowedRedirectURLs":["https://your_redirect_url/callback"],"Audiences":null,"ProviderCA":"","RoundTripper":null,"ProviderConfig":{"AuthURL":"https://your_issuer/authorize","TokenURL":"https://your_issuer/token","UserInfoURL":"https://your_issuer/userinfo","JWKSURL":"https://your_issuer/.well-known/jwks.json"}} + // {"ClientID":"your_client_id","ClientSecret":"[REDACTED: client secret]","Scopes":["openid"],"Issuer":"https://your_issuer/","SupportedSigningAlgs":["RS256"],"AllowedRedirectURLs":["https://your_redirect_url/callback"],"Audiences":null,"ProviderCA":"","RoundTripper":null,"ProviderConfig":{"AuthURL":"https://your_issuer/authorize","TokenURL":"https://your_issuer/token","UserInfoURL":"https://your_issuer/userinfo","JWKSURL":"https://your_issuer/.well-known/jwks.json"},"ProviderType":""} } func ExampleNewProvider() {