Create a form with the URL redirector widget on it. When the microflow triggers let it open this form and the user gets redirected to any webpage you want.
In the meanwhile I fixed this, with thanks to Daniel Schilperoord, by overriding the mx.logout function in a custom client widget
Problem I am facing is that when an SSO authenticated user logs out(mx.ui.runModule('Logout')), the user gets redirected to index.html, then gets forwarded to /sso again and as such logs in again.
If we use the normal login page (login.html) and log in and out, the user is sent back to login.html. It seems a cookie is used for originURI and that is what seems to be causing the "incorrect" re-direct. Any idea's on how to customize logout by which it would not be sent back to login.html?
Also, how would one implement Herbert Vuijk's code? Is it a seperate <script> element or an onclick implementation?