OIDC provider#602
Conversation
dasarinaidu
commented
Apr 3, 2026
- Added new tests for OIDC Provider
- Rancher Card : [RFE] Support OAUTH2 rancher#52716
16e3798 to
8cfecfc
Compare
a19218e to
dd86b5b
Compare
6eb571e to
6f92cf0
Compare
a2403d0 to
395513d
Compare
|
OIDCTestSuite SetupSuite TestSuites above were modified. TestSuites below use modified code from this PR. TestOIDCProviderSuite |
a2403d0 to
a9ee4f3
Compare
|
OIDCTestSuite SetupSuite TestSuites above were modified. TestSuites below use modified code from this PR. TestOIDCProviderSuite |
a9ee4f3 to
55284ec
Compare
|
OIDCTestSuite SetupSuite TestSuites above were modified. TestSuites below use modified code from this PR. TestOIDCProviderSuite |
3668de2 to
cb6e46a
Compare
| "Rancher did not become ready after enabling oidc-provider") | ||
|
|
||
| logrus.Infof("Creating OIDCClient %q", s.oidcConfig.ClientName) | ||
| spec := oidcclient.ClientSpec{ |
There was a problem hiding this comment.
Shouldn't this be:
spec := v3.OIDCClientSpec{
RedirectURIs: []string{s.oidcConfig.RedirectURI},
...
}
For this, you need to import v3 "github.com/rancher/rancher/pkg/apis/management.cattle.io/v3"
There was a problem hiding this comment.
Same situation as the oidcclient.go typed-wrangler comment on shepherd PR #547 — the currently vendored v3.OIDCClientSpec lacks the Scopes field (added in newer pkg/apis). Once the pkg/apis bump PR lands, this becomes a one-line swap:
▎ oidcclient.ClientSpec → v3.OIDCClientSpec, drop the local struct definition. Tracking under the same follow-up PR we discussed.
There was a problem hiding this comment.
yes, for this to work, you need to bump the pkg/apis version in rancher/tests
cb6e46a to
190e9cb
Compare