feat: allow postLogoutRedirectsUris to be set (#54)

Closes #51

Signed-off-by: Clément BUCHART <clement@buchart.dev>
This commit is contained in:
Clément BUCHART
2020-06-08 12:09:32 +02:00
committed by GitHub
parent db7513800e
commit c337b2d8f4
8 changed files with 61 additions and 24 deletions

View File

@ -387,6 +387,12 @@ spec:
type: object
spec:
properties:
audience:
description: Audience is a whitelist defining the audiences this client
is allowed to request tokens for
items:
type: string
type: array
grantTypes:
description: GrantTypes is an array of grant types the client is allowed
to use.
@ -430,6 +436,17 @@ spec:
pattern: (^$|^https?://.*)
type: string
type: object
metadata:
description: Metadata is abritrary data
format: byte
type: string
postLogoutRedirectUris:
description: PostLogoutRedirectURIs is an array of the post logout redirect
URIs allowed for the application
items:
pattern: \w+:/?/?[^\s]+
type: string
type: array
redirectUris:
description: RedirectURIs is an array of the redirect URIs allowed for
the application
@ -437,11 +454,6 @@ 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.
@ -454,17 +466,6 @@ spec:
maxItems: 3
minItems: 1
type: array
tokenEndpointAuthMethod:
description: Indication which authentication method shoud be used for the token endpoint.
type: string
enum:
- client_secret_basic
- client_secret_post
- private_key_jwt
- none
metadata:
description: Metadata is arbitrary data. This JSON will be stored into client and can be used to hold custom properties
type: object
scope:
description: Scope is a string containing a space-separated list of
scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749])
@ -478,6 +479,15 @@ spec:
minLength: 1
pattern: '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'
type: string
tokenEndpointAuthMethod:
description: Indication which authentication method shoud be used for
the token endpoint
enum:
- client_secret_basic
- client_secret_post
- private_key_jwt
- none
type: string
required:
- grantTypes
- scope