Skip to content

Conversation

@ProbstDJakob
Copy link

Overview

This PR adds support for prompt=none as described in the specs section 3.1.2.1.

What this PR does / why we need it

Currently dex lacks support for the prompt=none parameter. Though prompt is an optional parameter in the request, if it is set to none the IdP must not show any login mask or other UIs. Instead it should either return a new token if the session is still valid or return an error (which is always the case for dex, as there are no sessions).
This PR adds support for prompt=none in a way which will check for the existence of the parameter and the value and if that is the case, it always returns a login_required error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant