Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for custom OIDC prompts #3409

Merged
merged 1 commit into from
Mar 7, 2020
Merged

Adds support for custom OIDC prompts #3409

merged 1 commit into from
Mar 7, 2020

Commits on Mar 5, 2020

  1. Adds support for custom OIDC prompts

    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.
    klizhentas committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    6100b94 View commit details
    Browse the repository at this point in the history