mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-19 22:44:18 +00:00
add SAN to default cert in supervisor_discovery_test.go
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ type TestOIDCUpstream struct {
|
||||
}
|
||||
|
||||
// InferSupervisorIssuerURL infers the downstream issuer URL from the callback associated with the upstream test client registration.
|
||||
func (e *TestEnv) InferSupervisorIssuerURL(t *testing.T) SupervisorIssuer {
|
||||
func (e *TestEnv) InferSupervisorIssuerURL(t *testing.T) *SupervisorIssuer {
|
||||
t.Helper()
|
||||
supervisorIssuer := NewSupervisorIssuer(t, e.SupervisorUpstreamOIDC.CallbackURL)
|
||||
require.True(t, strings.HasSuffix(supervisorIssuer.issuerURL.Path, "/callback"))
|
||||
|
||||
Reference in New Issue
Block a user