Single Sign-On with Deeplink

0
Hello, we have requirement to implement deeplink with SSO. Currently the deeplink is working as expected but in case of SSO application the Deeplink do not work instead the app routes to default home page.  My question does anybody know how to integrate deeplink with SSO? I am confused where to start with the mendix documentation. My Deeplink URL is for example : https://xx-xxx.mendixcloud.com/link/xxxx/<id>. Now how would be my SSO url with deeplink?    javascript:  window.mx.afterLoginAction = () => {   if ( window.location.search.startsWith('?cont=') ) {      window.location = window.mx.homeUrl+decodeURIComponent(window.location.search.substring(6))   } else {      window.mx.redirect(window.mx.homeUrl);   } }    
asked
1 answers
0

Hi Raghavendra,

Depending on which SSO configuration you use, you would like to redirect to the deeplink again, after succesful login.

The DeepLink module has a constant named LoginLocation, which should enable this functionality for you.

Some documentation can be found here: Deeplink configuration

Examples:

  • For SAML, use: /SSO/login?f=true&cont=
  • For Mendix SSO, use: /openid/login?continuation=

Good luck!

Johan

answered