Hi Animesh,
If your are using deeplink with a SSO SAML, you need to config DeepLink module and your app as well.
In Deeplink just change this consts:
EnableLeadingSlash = false
LoginLocation = /SSO/login?f=true&cont=
In Mendix you have to change com.mendix.core.SameSiteCookies=LAX
for LocalHost:
com.mendix.core.SameSiteCookies = LAX
for Cloud may have to change some custom runtime settings…
Same Site info:
https://docs.mendix.com/appstore/modules/saml/#9-read-more
https://docs.mendix.com/refguide/custom-settings/
Basically,
With this settings, the user hits the App with your DeepLink (app.com/link/xxx)
If no session is active deeplink will call the LoginLocation with the link, (app.com/SSO/login?cont=link/xxx)
SAML will call the SSO/Idp and keep the link in your Cookies,
When SSO callback the SAML / assertion endpoint, the SAML redirect to your original deeplink (app.com/link/xxx).
When the Cookie is not passed along to Idp and back, the SAML will sent you to “app.com/”…
Hope this helps
Best regards
Hi Animesh,
The default location deeplink sends you is ‘login.html’. You can change this by changing the constant ‘LoginLocation’ in you app. See for more information:
https://docs.mendix.com/appstore/modules/deep-link/#36-configuring-constants
Hi Animesh,
Did you check both below checkboxes in deeplink configuration ?
Thanks
iqbal