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

Enable parameter forwarding in keycloak-js. #31669

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benzitohhh
Copy link

See #13094

Fixes keycloak/keycloak-js#20

With this in place, to specify params for forwarding:

First, in Keycloak UI set the names of params to forward (i.e. "foo" and "bar" below)

Screenshot 2024-07-26 at 14 47 20

Then in the js client, also specify the params in the init() call, with values:

keycloak.init({
    forwardParameters: {
      'foo': 123,
      'bar': 456
      ...
    }
})

Now calls to the IDP will also include the above params.

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

Successfully merging this pull request may close these issues.

Allow JS client to pass Forwarded Query Parameters in login call
3 participants