22 lines
627 B
YAML
22 lines
627 B
YAML
|
apiVersion: hydra.ory.sh/v1alpha1
|
||
|
kind: OAuth2Client
|
||
|
metadata:
|
||
|
name: penpot-oauth-client
|
||
|
# Has to live in the same namespace as the stackspin-penpot-oauth-variables secret
|
||
|
namespace: flux-system
|
||
|
spec:
|
||
|
# TODO copied from wekan: https://github.com/wekan/wekan/wiki/Keycloak
|
||
|
grantTypes:
|
||
|
- authorization_code
|
||
|
- refresh_token
|
||
|
- client_credentials
|
||
|
- implicit
|
||
|
responseTypes:
|
||
|
- id_token
|
||
|
- code
|
||
|
scope: "openid profile email stackspin_roles"
|
||
|
secretName: stackspin-penpot-oauth-variables
|
||
|
#redirectUris:
|
||
|
# - https://${penpot_domain}/oauth/openid/
|
||
|
#tokenEndpointAuthMethod: client_secret_post
|