rode / rode-ui

User Interface application for rode that enables metadata discovery and policy creation/evaluation.
http://liatrio.com
Apache License 2.0
4 stars 1 forks source link

Handle refresh failures and session expiration more gracefully #167

Open alexashley opened 3 years ago

alexashley commented 3 years ago

Right now if we fail to perform the refresh flow, we'll try to send the user through the login flow again.

This works if the user happens to be requesting a new page or refreshes, but doesn't play nicely when they're trying to interact with the current page. None of the calls we make on the front-end understand that redirect, but ideally we'd show a toast notification that prompts them to reauthenticate.