stackspout/basic/overrides/oauth-clients.yaml

40 lines
1010 B
YAML

apiVersion: hydra.ory.sh/v1alpha1
kind: OAuth2Client
metadata:
name: nextcloud-home-oauth-client
namespace: flux-system
spec:
grantTypes:
- authorization_code
- refresh_token
- client_credentials
- implicit
responseTypes:
- id_token
- code
scope: "openid profile email stackspin_roles"
secretName: stackspin-nextcloud-home-oauth-variables
redirectUris:
- https://files.home.${domain}/index.php/apps/sociallogin/custom_oauth2/stackspin
tokenEndpointAuthMethod: client_secret_post
---
apiVersion: hydra.ory.sh/v1alpha1
kind: OAuth2Client
metadata:
name: wikijs-oauth-client
namespace: flux-system
spec:
grantTypes:
- authorization_code
- refresh_token
- client_credentials
- implicit
responseTypes:
- id_token
- code
scope: "openid profile email stackspin_roles"
secretName: stackspin-wikijs-oauth-variables
#redirectUris:
# - https://wiki.${domain}/user/oauth2/Stackspin/callback
tokenEndpointAuthMethod: client_secret_post