Add support for token_endpoint_auth_method (#37)

This commit is contained in:
Ante Mihalj
2019-11-26 17:52:38 +01:00
committed by hackerman
parent 84b05ca58b
commit cb8601c1e1
6 changed files with 65 additions and 20 deletions

View File

@ -449,6 +449,14 @@ spec:
maxItems: 3
minItems: 1
type: array
tokenEndpointAuthMethod:
description: Indication which authenticaiton method shoud be used for the token endpoint.
type: string
enum:
- client_secret_basic
- client_secret_post
- private_key_jwt
- none
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])

View File

@ -13,9 +13,6 @@ spec:
- id_token
- code
- token
redirectUris:
- https://client/account
- http://localhost:8080
scope: "read write"
secretName: my-secret-123
# these are optional
@ -29,4 +26,5 @@ spec:
port: 4445
endpoint: /clients
forwardedProto: https
tokenEndpointAuthMethod: client_secret_basic

View File

@ -36,3 +36,4 @@ spec:
port: 4445
endpoint: /clients
forwardedProto: https
tokenEndpointAuthMethod: client_secret_basic