2024-02-14 17:41:43 +00:00
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
kind: OAuth2Client
|
|
|
|
metadata:
|
|
|
|
name: vikunja-test-oauth-client
|
|
|
|
# Has to live in the same namespace as the stackspin-*-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
|
2024-12-12 18:13:40 +00:00
|
|
|
scope: "openid profile email name"
|
2024-02-15 10:56:51 +00:00
|
|
|
secretName: stackspin-vikunja-test-oauth-variables
|
2024-02-14 17:41:43 +00:00
|
|
|
redirectUris:
|
|
|
|
- https://test.${vikunja_domain}/auth/openid/stackspin
|
|
|
|
tokenEndpointAuthMethod: client_secret_post
|