vouch-proxy icon indicating copy to clipboard operation
vouch-proxy copied to clipboard

Pass GET parameters to IdP

Open LickABrick opened this issue 4 years ago • 1 comments

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.

LickABrick avatar Aug 10 '21 16:08 LickABrick

@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.

bnfinet avatar Aug 11 '21 20:08 bnfinet