2019-08-21 10:12:07 +02:00
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
kind: OAuth2Client
|
|
|
|
metadata:
|
2019-08-30 08:59:09 +02:00
|
|
|
name: my-oauth2-client
|
|
|
|
namespace: default
|
2019-08-21 10:12:07 +02:00
|
|
|
spec:
|
2019-08-30 08:59:09 +02:00
|
|
|
grantTypes:
|
|
|
|
- client_credentials
|
|
|
|
- implicit
|
|
|
|
- authorization_code
|
|
|
|
- refresh_token
|
|
|
|
responseTypes:
|
|
|
|
- id_token
|
|
|
|
- code
|
|
|
|
- token
|
2019-09-13 14:37:29 +02:00
|
|
|
scope: "read write"
|
|
|
|
secretName: my-secret-123
|