feat: Add audience field to OAuth2 Clients (#44)

This commit is contained in:
Ante Mihalj
2020-02-01 14:26:22 +01:00
committed by GitHub
parent 728d02b8fc
commit 71f17149c9
7 changed files with 25 additions and 2 deletions

View File

@ -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.

View File

@ -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

View File

@ -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