-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for custom OIDC prompts (#3409)
This commit adds support for custom OIDC prompt values. Read about possible prompt values here: https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest Three cases are possible: * Prompt value is not set, this defaults to OIDC prompt value to select_account value to preserve backwards compatibility. ```yaml kind: oidc version: v2 metadata: name: connector spec: prompt: 'login consent' ``` * Prompt value is set to empty string, it will be omitted from the auth request. ```yaml kind: oidc version: v2 metadata: name: connector spec: prompt: '' ``` * Prompt value is set to non empty string, it will be included in the auth request as is. ```yaml kind: oidc version: v2 metadata: name: connector spec: prompt: 'login consent' ``` Tested with Auth0 OIDC connector on teleport 4.2 enterprise.
- Loading branch information
1 parent
235a146
commit 924dd8f
Showing
4 changed files
with
113 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters