Deeplink does not pick up logged in user in cloud

10
Dear community,   For a project we have implemented a deeplink connected to a custom login page. If the user has filled in their credentials correctly, the user is signed in using custom java action LoginUser. Using a Redirect Page, a deeplink is triggered where the logged in user now can follow their path.   This all works fine locally. However in the cloud the user is not signed in when he triggers the deeplink.    Solutions that I have tried unsuccessfully: sameSiteCookies = Lax or None request handles /link → enable all access landingpage of deeplink to index3.html   Does anyone have another solution?
asked
1 answers
3

in your java action, check if you have something like that : 

response.addCookie(XAS_SESSION_ID, session.getId().toString(), "/", "", -1,true);
response.addCookie(XAS_ID, "0." + Core.getXASId(), "/", "", -1,true);

 

You need to change it with something like that : 

response.addCookie(XAS_SESSION_ID, session.getId().toString(), "/", "", -1,true,true);
response.addCookie(XAS_ID, "0." + Core.getXASId(), "/", "", -1,true,true);

 

I had the same issue when I upgraded my mendix app to 9.24.2

answered