Forced SSO with new Microflow URLs - anonymous problems

0
I'm trying to get rid of Deep Links (which we use for anonymous users). And use the following instructions (as SAML | Mendix Documentation) for setting up Microflow URL's, We use SSO and we force SSO with redirection (in step 3 below). The old microflows we used for deep links I made sure anonymous users have access to the microflows.   So our old deeplinks which are now anonymous-access microflow urls are as such:   https://www.myapp.com/link/mymicroflow?code=somecodehere   Now it just redirects to /SSO/login and keeps looping over and over aagain. It goesn't take me to the microflow.  What gives?   In the Runtime tab of the App Settings, configure the page URL prefix to link instead of the default P to maintain compatibility with existing URLs. Ensure to remove the Deep Link module from your app to start the app successfully. To implement the SSO redirection, add the following lines of code to your login page (for example, login.html): Extract the return URL: var returnURL = window.location.hash.substring(1) + window.location.search; For automatic redirection: use window.onload to automatically redirect users to the SSO login page. window.location.href = 'sso/login' + (returnURL ? '?cont=link' + encodeURIComponent(returnURL) : ''); or, For manual redirection: add an onclick event to the button that manually triggers the SSO login. this.href = 'sso/login' + (returnURL ? '?cont=link' + encodeURIComponent(returnURL) : ''); To allow the end users to navigate to the desired page, URL can be formed as follows: If single IdP configured, URL will be the base URL of your application followed by SSO/login?cont={page/Microflowurl}. For example, http://localhost:8080/SSO/login?cont=link/pagepath If Multiple IdPs configured, you can specify which IdP should be used by adding the alias (MyIdPAlias) SSO/login?_idp_id={MyIdPAlias}&cont={page/Microflowurl}. For example, http://localhost:8080/SSO/login?_idp_id=Okta&cont=link/pagepath
asked
1 answers
0

Hello Robyn,

I faced similar issue ,our final deep link should be like below.

https://abc-accp.mx.lowcode.test.cloud/SSO/login?cont=p/AccessRequest/259

 

Mendix Community - Question Details

answered