Hey,
You may find a custom widget for timeout that contains a trigger action.
Or, You can create an object associated with the session when the user logs in, set a delete behavior "delete this object when the session object is deleted" and create a before delete event handler on this entity that triggers your OIDC logout logic.
Hi Pravin,
I searched the forum a bit and found this forum post:
https://forum.mendix.com/link/space/app-development/questions/9231
It looks like changing the originURI will prevent this behaviour.
https://docs.mendix.com/developerportal/deploy/environments-details/#4223-using-custom-sign-in-pages
This will then redirect to the custom signin page.
Or try this suggestion https://forum.mendix.com/link/space/microflows/questions/99927