Checklist
Describe the bug
When e.g. session is expired, the user does not get a button to reload the state.
I think it is due to the fact the
frontend/elements/src/components/form/Form.tsx within does not get rendered when
flowAction is not present or enabled.
I think "no continue form" when your session expires is valid, but when you get a I would suggest to always have a button to at least refresh the hanko login state.
Reproducing the bug
- Start a login session
- give in a username
- click send mail token
- wait till session expires
- click back button
The logs are from clicking the back button
Logs
Request:
POST https://auth-dev.pgbeetje.nl/login?action=back@e2282426-68ae-4751-ae54-c6e7a2638207
{"input_data":{},"csrf_token":"ZNBNMQjEmv3zJh04sK3Ywfqz0zQQQMWe"}
Response: {"name":"error","status":410,"csrf_token":"","actions":{},"error":{"code":"flow_expired_error","message":"The flow has expired."},"links":null}
Configuration
Hanko Version
2.5.0
OS Hanko Backend
None
OS Version Hanko Backend
No response
OS
macOS
OS Version
MacOS 26.3 (25D125)
Browser Version
FireFox 148.0 (aarch64)
Environment
None
Additional Context
No response
Checklist
Describe the bug
When e.g. session is expired, the user does not get a button to reload the state.
frontend/elements/src/components/form/Form.tsx within does not get rendered whenI think it is due to the fact the
flowActionis not present or enabled.I think "no continue form" when your session expires is valid, but when you get a I would suggest to always have a button to at least refresh the hanko login state.
Reproducing the bug
The logs are from clicking the back button
Logs
Configuration
Hanko Version
2.5.0
OS Hanko Backend
None
OS Version Hanko Backend
No response
OS
macOS
OS Version
MacOS 26.3 (25D125)
Browser Version
FireFox 148.0 (aarch64)
Environment
None
Additional Context
No response