microbiomedata / nmdc-edge

Web-based interface to the NMDC EDGE platform
https://nmdc-edge.org
3 stars 0 forks source link

Handle 'Unauthorized' alert #201

Closed yxu-lanl closed 2 weeks ago

yxu-lanl commented 2 weeks ago

Is your feature request related to a problem? Please describe. User will get the 'Unauthorized' api call error when user's login token is expired or user's status is changed to 'inactive'.

Describe the solution you'd like The logout + re-login can fix this issue. The solution is: the web app will automatically logout users and redirect to home page when they get the popup 'Unauthorized' error alert window.

yxu-lanl commented 2 weeks ago

https://github.com/microbiomedata/nmdc-edge/pull/202