diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-14 17:32:29 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-14 17:32:29 -0600 |
| commit | 7797dffa1412ca0e5a0ba95eb8aa39cddce8d10e (patch) | |
| tree | ebe66cef972f1ce0b05848a84dbda3048df2d87b /pkg | |
| parent | 3a53366bf3c476497163c8e8a0b3fbe7bd40c869 (diff) | |
fix: delegate to client_* directly
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/oidc/test_server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/oidc/test_server.go b/pkg/oidc/test_server.go index 92bfe57..81b37ca 100644 --- a/pkg/oidc/test_server.go +++ b/pkg/oidc/test_server.go @@ -37,8 +37,8 @@ func NewTestServer(t *testing.T) *TestServer { return &TestServer{ srv, &oauth2.Config{ - ClientID: srv.MockOIDC.ClientID, - ClientSecret: srv.MockOIDC.ClientSecret, + ClientID: srv.ClientID, + ClientSecret: srv.ClientSecret, RedirectURL: "https://example.com/oauth/callback", Endpoint: provider.Endpoint(), Scopes: []string{oidc.ScopeOpenID, "profile", "email"}, |
