feat: allow postLogoutRedirectsUris to be set (#54)
Closes #51 Signed-off-by: Clément BUCHART <clement@buchart.dev>
This commit is contained in:
@ -484,12 +484,13 @@ func testInstance(name, secretName string) *hydrav1alpha1.OAuth2Client {
|
||||
Namespace: tstNamespace,
|
||||
},
|
||||
Spec: hydrav1alpha1.OAuth2ClientSpec{
|
||||
GrantTypes: []hydrav1alpha1.GrantType{"client_credentials"},
|
||||
ResponseTypes: []hydrav1alpha1.ResponseType{"token"},
|
||||
Scope: "a b c",
|
||||
RedirectURIs: []hydrav1alpha1.RedirectURI{"https://example.com"},
|
||||
Audience: []string{"audience-a"},
|
||||
SecretName: secretName,
|
||||
GrantTypes: []hydrav1alpha1.GrantType{"client_credentials"},
|
||||
ResponseTypes: []hydrav1alpha1.ResponseType{"token"},
|
||||
Scope: "a b c",
|
||||
RedirectURIs: []hydrav1alpha1.RedirectURI{"https://example.com"},
|
||||
PostLogoutRedirectURIs: []hydrav1alpha1.RedirectURI{"https://example.com/logout"},
|
||||
Audience: []string{"audience-a"},
|
||||
SecretName: secretName,
|
||||
HydraAdmin: hydrav1alpha1.HydraAdmin{
|
||||
URL: "http://hydra-admin",
|
||||
Port: 4445,
|
||||
|
Reference in New Issue
Block a user