Skip to content

Commit 93ccb62

Browse files
committed
page URL
1 parent 1ed856a commit 93ccb62

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • content/en/docs/appstore/use-content/platform-supported-content/modules/SAML

content/en/docs/appstore/use-content/platform-supported-content/modules/SAML/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@ Page URLs and Microflow URLs are supported with SAML for Mendix version 10.6 and
521521
`window.location.href = 'sso/login' + (returnURL ? '?cont=link' + encodeURIComponent(returnURL) : '');` or,
522522
* For manual redirection: add an onclick event to the button that manually triggers the SSO login.
523523
`this.href = 'sso/login' + (returnURL ? '?cont=link' + encodeURIComponent(returnURL) : '');`
524+
* For multiple query parameters: `const returnURL = encodeURIComponent(window.location.search+window.location.hash);`
525+
`self.location = '/SSO/login?cont='+returnURL;`
524526
4. To allow the end users to navigate to the desired page, URL can be formed as follows:
525527
* If a single IdP is configured, the URL will be the base URL of your application followed by `SSO/login?cont={page/Microflowurl}`.
526528
For example, `http://localhost:8080/SSO/login?cont=link/pagepath`.

0 commit comments

Comments
 (0)