com.mendix.webui.FeedbackHelper.addLoginFeedback(this.getContext())
?
var hsr=res.getHttpServletResponse();
hsr.sendRedirect('/login.html');
?
Hi Rachana,
You can use the microflow having the action to remove current SSO session from the application using call REST service (Configure the API url of DELETE session with okta ID) activity
The way I implemented it using Okta was a LogOut Microflow that called the Okta API to end the session of the user that was logged in and also calling the Java action Logoff.
by default when this happens the application usually sends the user back to the index.html page automatically, which for us includes a way to sign in via SSO (Okta).
If needed you could make the index.html page contain your Single Sign on functionality, just a button that calls a link to append the “/SSO/” to the end of your current URL. This would keep you outside of having to mess with any type of Java if you are not 100% comfortable with that.
Hello Rachana,
I think if you are using the SAML module you will have a constant named DefaultLogoutPage within that module which you can point to your desired page and that should do the job.
Hope this helps