2022-07-18 14:20:37 +00:00
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
kind: OAuth2Client
|
|
|
|
metadata:
|
|
|
|
name: vikunja-test-oauth-client
|
2024-01-23 21:50:41 +00:00
|
|
|
# Has to live in the same namespace as the stackspin-*-oauth-variables secret
|
2022-07-18 14:20:37 +00:00
|
|
|
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"
|
2022-07-18 20:22:08 +00:00
|
|
|
secretName: stackspin-vikunja-test-oauth-variables
|
2022-07-18 14:20:37 +00:00
|
|
|
redirectUris:
|
|
|
|
- https://do-test.${domain}/auth/openid/stackspin
|
|
|
|
tokenEndpointAuthMethod: client_secret_post
|