oc-auth k8s integration

This commit is contained in:
plm
2024-12-16 14:50:39 +01:00
parent 11bdecd80d
commit 5e1503f0bc
6 changed files with 110 additions and 52 deletions

View File

@@ -2,10 +2,8 @@
apiVersion: hydra.ory.sh/v1alpha1
kind: OAuth2Client
metadata:
name: openCloudClient
name: open-cloud-client
spec:
clientId: test-client
clientSecret: oc-auth-got-secret
grantTypes:
- implicit
- refresh_token
@@ -15,12 +13,14 @@ spec:
- id_token
- token
- code
scope: openid profile email roles
secretName: oc-auth-got-secret
redirectUris:
- https://myapp.example.com/callback
scope: openid profile email roles
tokenEndpointAuthMethod: client_secret_post
postLogoutRedirectUris:
-http://localhost:3000
- http://localhost:3000
tokenEndpointAuthMethod: client_secret_post
allowedCorsOrigins:
- http://localhost
{{- end }}
{{- end }}