feat: Add audience field to OAuth2 Clients (#44)
This commit is contained in:
@ -437,6 +437,11 @@ spec:
|
||||
pattern: \w+:/?/?[^\s]+
|
||||
type: string
|
||||
type: array
|
||||
audience:
|
||||
description: Audience is a whitelist defining the audiences this client is allowed to request tokens for
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
responseTypes:
|
||||
description: ResponseTypes is an array of the OAuth 2.0 response type
|
||||
strings that the client can use at the authorization endpoint.
|
||||
|
@ -19,6 +19,9 @@ spec:
|
||||
redirectUris:
|
||||
- https://client/account
|
||||
- http://localhost:8080
|
||||
audience:
|
||||
- audience-a
|
||||
- audience-b
|
||||
hydraAdmin:
|
||||
# if hydraAdmin is specified, all of these fields are requried,
|
||||
# but they can be empty/0
|
||||
|
@ -29,6 +29,9 @@ spec:
|
||||
redirectUris:
|
||||
- https://client/account
|
||||
- http://localhost:8080
|
||||
audience:
|
||||
- audience-a
|
||||
- audience-b
|
||||
hydraAdmin:
|
||||
# if hydraAdmin is specified, all of these fields are requried,
|
||||
# but they can be empty/0
|
||||
|
Reference in New Issue
Block a user