TACC / tup-ui

React client for TACC User Portal
2 stars 0 forks source link

Bug/TUP-641: Detect authentication timeouts and show an error message #366

Closed jarosenb closed 9 months ago

jarosenb commented 9 months ago

Overview

Detect authentication timeouts and show an error message.

Related

Changes

jarosenb commented 9 months ago

The code looks perfect. I do generally understand it, and the intent.

I'll test that login still works locally.

Is it an accurate local test for me to block network access before I submit login?

You can set timout=1 in useAuth.ts and that will simulate what happens during a timeout.