#2487·hanko

If no flow state (e.g. some error states), user gets no reload button

Author: Harm-NullixCreated Mar 9, 2026Updated Mar 9, 2026
Labelsbug

Checklist

  • I could not find a solution in the existing issues or docs.
  • I agree to follow this project's Code of Conduct.

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
Image

The logs are from clicking the back button

Logs

bash
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

yaml

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