open-formulieren / open-forms-sdk

A Javascript SDK for Open Forms
https://open-forms.readthedocs.io/en/stable/developers/sdk/index.html
Other
2 stars 6 forks source link

SDK: session expiry should be its own route #645

Closed sergei-maertens closed 7 months ago

sergei-maertens commented 8 months ago

Now we have clunky state management and container routes that perform side effects (such as creating a new submission).

Instead, when the user session expires, we should (client-side) redirect to a dedicated page showing the message, and the side effect should be that any session data and state (sessionStorage and the like) are cleared.