Fixing ldap conf, initializing keto, oc-auth and co
This commit is contained in:
26
opencloud/templates/oc-auth/openCloudOauth2.yaml
Normal file
26
opencloud/templates/oc-auth/openCloudOauth2.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
{{- if index .Values.ocAuth.enabled }}
|
||||
apiVersion: hydra.ory.sh/v1alpha1
|
||||
kind: OAuth2Client
|
||||
metadata:
|
||||
name: openCloudClient
|
||||
spec:
|
||||
clientId: test-client
|
||||
clientSecret: oc-auth-got-secret
|
||||
grantTypes:
|
||||
- implicit
|
||||
- refresh_token
|
||||
- authorization_code
|
||||
- client_credentials
|
||||
responseTypes:
|
||||
- id_token
|
||||
- token
|
||||
- code
|
||||
redirectUris:
|
||||
- https://myapp.example.com/callback
|
||||
scope: openid profile email roles
|
||||
tokenEndpointAuthMethod: client_secret_post
|
||||
postLogoutRedirectUris:
|
||||
-http://localhost:3000
|
||||
allowedCorsOrigins:
|
||||
- http://localhost
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user