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

SAML: allowing idpOptions sso_urls to be parameterized #344

Open
wants to merge 4 commits into
base: next
Choose a base branch
from

Conversation

fleque
Copy link

@fleque fleque commented Oct 14, 2022

With this PR additional parameters that are passes to the authorization request, start with x_ and match a 'id-string' pattern are added to the authRequest structure that is kept in the session in a new property options. Additionally, if options have been added to the request the sso_login_url and sso_logout_url are mustache-processed with the authRequest as parameter.

This allows for idpOptions like
"sso_login_url": "https://myidp.org:/auth/SSOPOST/metaAlias/idp-{{{options.auth_realm}}}"
given that the authorization request as a parameter x_auth_realm=some-valid-value

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.

None yet

1 participant