NASA-PDS / doi-ui

The web interface for the PDS DOI Service providing the ability management PDS archive DOIs. See the DOI Service for more details on the available capabilities. https://nasa-pds.github.io/doi-service/
Apache License 2.0
0 stars 4 forks source link

ADD application level authentication (with Cognito) #163

Closed ramesh-maddegoda closed 2 years ago

ramesh-maddegoda commented 2 years ago

🗒️ Summary

Added application level authentication (with Cognito) by implementing the OAuth2 Authorization Code Grant with PKCE (Proof Key for Code Exchange) using react-oauth2-pkce library. This implementation also automatically refreshes access token and ID token.

Also, updated messages to display different text in unauthorized situations and other issues (connection issues etc.)

♻️ Related Issues

Refer to the issue: NASA-PDS/doi-ui#159