aodn / aodn-portal

AODN Open Geospatial Portal
https://portal.aodn.org.au/
GNU General Public License v3.0
21 stars 13 forks source link

Get the user info from cookie and add some logging #2924

Closed craigrose closed 2 years ago

craigrose commented 2 years ago

It appears cognito may have failed to get the user for some unknown reason. I have avoided this by getting the user from the cookie. Also added some logging to log the error response for authenticateUser and getUserAttributes to help in future