Sep 7, 2016
0
Level 12
[iOS] Re-opening Safari app causes TokenMismatchException when logging in
I get a lot of TokenMismatchExceptions, simply because of iOS' Safari app not refreshing the CSRF token when re-opening the app.
Scenario:
- Log out
- Close Safari app on login view
- Open Safari app (no manual refresh)
- Login
- TokenMismatchException
How do I catch this before the error occurs? Forcing a page refresh, somehow?
Please or to participate in this conversation.