Support talking to multiple ORY Hydra deployments (#35)
This commit is contained in:
@ -13,5 +13,20 @@ spec:
|
||||
- id_token
|
||||
- code
|
||||
- token
|
||||
redirectUris:
|
||||
- https://client/account
|
||||
- http://localhost:8080
|
||||
scope: "read write"
|
||||
secretName: my-secret-123
|
||||
# these are optional
|
||||
redirectUris:
|
||||
- https://client/account
|
||||
- http://localhost:8080
|
||||
hydraAdmin:
|
||||
# if hydraAdmin is specified, all of these fields are requried,
|
||||
# but they can be empty/0
|
||||
url: http://hydra-admin.namespace.cluster.domain
|
||||
port: 4445
|
||||
endpoint: /clients
|
||||
forwardedProto: https
|
||||
|
||||
|
@ -8,7 +8,7 @@ data:
|
||||
client_id: MDA5MDA5MDA=
|
||||
client_secret: czNjUjM3cDRzc1ZWMHJEMTIzNA==
|
||||
---
|
||||
apiVersion: hydra.ory.sh/v1alpha1
|
||||
apiVersion: hydra.ory.sh/v1alpha2
|
||||
kind: OAuth2Client
|
||||
metadata:
|
||||
name: my-oauth2-client-2
|
||||
@ -25,3 +25,14 @@ spec:
|
||||
- token
|
||||
scope: "read write"
|
||||
secretName: my-secret-456
|
||||
# these are optional
|
||||
redirectUris:
|
||||
- https://client/account
|
||||
- http://localhost:8080
|
||||
hydraAdmin:
|
||||
# if hydraAdmin is specified, all of these fields are requried,
|
||||
# but they can be empty/0
|
||||
url: http://hydra-admin.namespace.cluster.domain
|
||||
port: 4445
|
||||
endpoint: /clients
|
||||
forwardedProto: https
|
||||
|
Reference in New Issue
Block a user