I want to display modal when the session times out.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey Faiz,
To show a modal when a session times out, you’d typically use JavaScript to detect inactivity or check for session expiry via periodic AJAX calls. Once the session is no longer valid, you can trigger a modal using something like Bootstrap or plain JS.
That said, since you’re using OpenSAML for authentication, session handling might depend on how your app manages login state and redirects. Feel free to share more about how your session is tracked and whether you’re using any frontend frameworks or libraries.
- Bobby