authgear-server
authgear-server copied to clipboard
Easy to trigger invalid session
Problem
It's easy to trigger the "Direct Access disallowed" in the web apps for example, user quit and reopen the mobile browser. They will see a cryptic message
Direct access to this page is disallowed
This page can only be accessed via the authorization endpoint.
Proposed change
- Change the message to a more user-friendly one
- To be handled in DEV-350 : Improve error page for CSRF Error page
- Switch to a Max-Age cookie of 5 minutes. Each request will extend the age by 5 minutes.
Please also research if giving up session cookie is ok security-wise