Redirect to originating deeplink page after logout

2
The deeplink module works fine for anonymous users. However when a users logs in and then logs out of the application the URL is redirected to the regular home page, instead of the originating deeplink page. For example: Default home page of the application: http://app,com Deeplink home page using deeplink: http://app.com/link/customer1 When a user of customer1 logs out, the system redirects to http://app.com instead of http://app.com/link/customer1 We already set the option 'Use as Home' but doesn't help. Any idea how to solve this issue?
asked
1 answers
0

Eco,

I think this requires some java code: Store the link for the user, so that you can retrieve this on logout. Implement your own logout button that calls a microflow, retrieving the user's link. In the microflow call a java action, pass it the link, and kill the user session and redirect to the link.

Hope this helps you in the direction of a solution.

answered