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

Pass GET parameters to IdP #410

Open
LickABrick opened this issue Aug 10, 2021 · 1 comment
Open

Pass GET parameters to IdP #410

LickABrick opened this issue Aug 10, 2021 · 1 comment

Comments

@LickABrick
Copy link

LickABrick commented Aug 10, 2021

Hi, is it possible to pass variables provided in the URL to the login page? Underneath a example:

My setup:
Internet --> Nginx --> Vouch (if not logged in) --> Keycloak
|-> Application (if logged in)

What I want to do:
When a user who is not authenticated goes to https://example.com/?username=johndoe I want to use the 'username' to prefill the username field at the Keycloak login page.

Current situation:
When the user which is not authenticated goes to https://example.com/?username=johndoe the '?username=johndoe' is not preserved when reaching the Keycloak login page.

@bnfinet bnfinet changed the title Pass (GET) parameters to IDP Pass GET parameters to IdP Aug 11, 2021
@bnfinet
Copy link
Member

bnfinet commented Aug 11, 2021

@LickABrick no there is no mechanism for passing variables to the IdP. I could see adding such a feature to the /login endpoint but it would require some thought.

I'll leave this issue open as a feature request.

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

No branches or pull requests

2 participants