Deeplink does not work after inactivity

0
Hi all, I am using the deeplink to open an anonymous Mendix page from another website. The deeplink url is a static value behind a button on that webpage. When initially clicked, the deeplink logic is executed properly and the right Mendix page is opened. After the user is done on the Mendix page, it gets redirected back to the above mentioned website, where the user can click on the button to open de deeplink Mendix page again. This loop works fine, until there is approximately 30 minutes of inactivity. After the 30 minutes of inactivity, when you click on the button, the right deeplink url is executed, but Mendix does not find a pendinglink object so the wrong Mendix webpage opens.   What the problem seems like to me, is that the anonymous user changes in the 30 minutes of inactivity, but the pendinglink object is not newly created when visiting the deeplink url.    Can anyone help me with what is going wrong here and what I can do to make this work?
asked
2 answers
0

Did you find any solution? I have similar problem.

answered
0

30 minutes sounds like a session timeout. I suspect the Deeplink microflow requires a user to be logged in and within session.

 

To fix this, make sure you either redirect the user to a login page if they must be logged in, or change your application security to allow anonymous users. Make sure the deeplink is accessible by whatever user role you set for anonymous users or named users.

 

https://docs.mendix.com/appstore/modules/deep-link/

https://docs.mendix.com/refguide/anonymous-users/

 

Good luck!

answered