Deeplink in combination with SSO not working in Mendix 9.10

0
Recently, we migrated a Mendix application from 7 to 9.10. In Mendix 7, we had a working combination of deeplink and SSO. In this app, we send an email to users with a deeplink which allows them to go a certain page without the need to login again. As said before, it worked very well. But now in Mendix 9, we are not able to get it working again. We make use of the index.html and login.html files for the SSO login process. Both are detailed below: Index.html <!doctype html> <html>     <head>         <meta charset="utf-8">         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">         <title>Mendix</title>         <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">         <meta name="apple-mobile-web-app-capable" content="yes">         <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css?{{cachebust}}">         <link rel="stylesheet" href="mxclientsystem/mxui/ui/mxui.css?{{cachebust}}">         {{themecss}}         <!-- ICONS EXAMPLE -->         <!-- iPhone retina icon (iOS < 7) -->         <!-- <link href="resources/ios/icons/apple-touch-icon-precomposed-114x114.png" sizes="114x114" rel="apple-touch-icon-precomposed"> -->         <!-- STARTUP IMAGES -->         <!-- <link href="resources/ios/startup/apple-touch-startup-image-1496x2048.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image"> -->     </head>     <body dir="ltr">         <div id="content"></div>         <script>             dojoConfig = {                 baseUrl: "mxclientsystem/dojo/",                 cacheBust: "{{cachebust}}",                 rtlRedirect: "index-rtl.html"             };         </script>         <meta http-equiv="refresh" content="0;URL=/SSO/" />         <!---         <script>             if (!document.cookie || !document.cookie.match(/(^|;)originURI=/gi))                 document.cookie = "originURI=/login.html";         </script>         <script src="mxclientsystem/mxui/mxui.js?{{cachebust}}"></script>         -->     </body> </html> login.html: <!doctype html> <html>     <head>         <meta charset="utf-8">         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">         <title>Mendix</title>         <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">         <meta name="apple-mobile-web-app-capable" content="yes">         <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css?{{cachebust}}">         <link rel="stylesheet" href="mxclientsystem/mxui/ui/mxui.css?{{cachebust}}">         {{themecss}}         <!-- ICONS EXAMPLE -->         <!-- iPhone retina icon (iOS < 7) -->         <!-- <link href="resources/ios/icons/apple-touch-icon-precomposed-114x114.png" sizes="114x114" rel="apple-touch-icon-precomposed"> -->         <!-- STARTUP IMAGES -->         <!-- <link href="resources/ios/startup/apple-touch-startup-image-1496x2048.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image"> -->     </head>     <body dir="ltr">         <div id="content"></div>         <script>             dojoConfig = {                 baseUrl: "mxclientsystem/dojo/",                 cacheBust: "{{cachebust}}",                 rtlRedirect: "index-rtl.html"             };         </script>                  <!-- Toegevoegd M.v.d.Bempt dd 30jan20 voor onmiddellijke redirect naar sso -->         <meta http-equiv="refresh" content="0;URL=/SSO/" />         <!---         <script>             if (!document.cookie || !document.cookie.match(/(^|;)originURI=/gi))                 document.cookie = "originURI=/login.html";         </script>         <script src="mxclientsystem/mxui/mxui.js?{{cachebust}}"></script>         -->     </body> In the Model Options, we have the following settings: In the modeller self, we create the deeplink as follows:   In the BijbehorendeDeeplink_Subdossier we have:   $URLApplicatie + '/SSO/login?f=true&cont=link/subdossier/' + $SubDossier/ControleKenmerk (therefore, the attribute Deeplink.LoginLocation is empty.) The navigation looks like this:   In the default home page in the navigation of the app, we have the following microflow: With the follwing detail for the microflow DeelinkHome_SSO: We tried this configuration with the URL that was generated by the app: https://<app-id>.mendixcloud.com/SSO/login?f=true&cont=link/subdossier/SZ%202022%20test_links%202022-00002 We saw that we were trapped in the default home page microflow, but that there was no pending link for the user. Therefore the user will be navigated to the homepage. Does anyone know how we can solve this problem?                                                    
asked
0 answers