Closed tloubrieu-jpl closed 2 years ago
@ramesh-maddegoda is helping out w/ this. Eddie waiting on this.
Ramesh has completed Cognito integration.
Status: @ramesh-maddegoda 95% complete for server and client side updates. also has auto-refresh token functionality which is valid for 30 days. we can set a flag in the library to handle this for us. only remaining thing is to fix logout functionality
The changes related with application level authentication (with Cognito ) in doi-ui is completed and I made a pull request at https://github.com/NASA-PDS/doi-ui/pull/164
Merged changes
When the back-end API is not reachable because authentication became invalid we need a different message than when the API is not reachable.
I think during the test we need to catch specific status (401 or 403) and make a new message saying "your authentication is not valid anymore, please reload and create a new session".
To reproduce the current error: