How do I end a user’s session from a microflow/Java action without redirecting them to the login page of the application? Basically I want, upon sending of a ‘change email’ confirmation link, for instance, to end the user’s session and present them a message notifying them about the link in the email. Then, when they click on the link in the email, their previous seasion is gone so the deeplink executes correctly. The ‘logout’ method of com.mendix.core.Core seems to automatically redirect to the login page of the application, so the notification message is only displayed for a fraction of a second. Any help with this would be much appreciated. Thanks!
This custom java action logs out the user, maybe it is possible in a microflow to call this action and then use the url redirector in a page to navigate to a custom html logout page. So after the java action activity, add an open page activity containing the url redirector to display your notification.