Do API key check on page navigation #163
Labels
code enhancement
Improvements to the code without noticeably changing user experience
feature enhancement
New features and functionality
In the unlikely event that the API key expires on the API side before the UI side, the user can perform several actions and lose plenty of work when an api call fails.
Perform an API key validation check (on a literally dummy endpoint) on page load or route navigation.
Pros: limits a very rare and extremely unlikely edge case.
Cons: generates a lot of extra traffic, can play not nicely with the other mounted api calls.
The text was updated successfully, but these errors were encountered: