Hello fellas, We’ve created a simple login app which uses a deep link. Everything was configured. Basically User creates a new account – status of the user is inactive, then activation link is sent to the user’s email, then after clicking on activation link – the user status become an active member. On localhost app is working perfectly, but when the app is published – activation link doesn’t work (it is sent to the user, but when he clicks it, then a blank page appears, that says it cannot connect to the website). Do you have any ideas what’s going on?
Is deep link configured for anonymous users? or login required.
Is the link that which user is using is same as your app is running on?
Try to provide MXRUNTIME_ApplicationRootUrl: <app URL> during deployment .
answered
Prashant Shinde
0
Actually the problem was that activation link was hardcoded. So when link was generated in localhost:
”http://localhost:8080/link...” but in the sandbox was smth like “ ---.iolink/---”
small if statement with “endsWith” function helped.