sso-kustom/examples/authenticated-app/resources/oauth2-client.yaml

19 lines
393 B
YAML

apiVersion: hydra.ory.sh/v1alpha1
kind: OAuth2Client
metadata:
name: app-oauth2-client
spec:
clientName: "app"
tokenEndpointAuthMethod: "client_secret_basic"
grantTypes:
- authorization_code
- refresh_token
responseTypes:
- code
scope: "openid profile email"
secretName: app-oidc-secret
redirectUris:
- https://ssokustom
postLogoutRedirectUris:
- https://ssokustom