How to redirect a user to a custom page after the inactivity timeout has expired rather than the login page

When my user’s session has timeout due to inactivity. Rather than redirecting the user back to the login page is there a way to redirect them to a custom page(session timeout error page).

Thanks

Hey there!

Let me check that for you and get back to you shortly!

Hey there!

I guess there is! So I checked that document:

and it seems that it’s by default redirecting user to login but you can make it to any other URL. Have a look!