oc-auth k8s integration
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user