NASA-PDS / doi-service

Service and tools for generating DOIs for PDS bundles, collections, and data sets
https://nasa-pds.github.io/doi-service
Other
2 stars 3 forks source link

add cognito (jwt bearer) authentication #349

Closed tloubrieu-jpl closed 2 years ago

tloubrieu-jpl commented 2 years ago

🗒️ Summary

Add Cognito token verification

⚙️ Test Data and/or Report

See test procedure on the wiki https://github.com/NASA-PDS/doi-service/wiki/Test-API-with-Cognito-authentication

♻️ Related Issues

fixes https://github.com/NASA-PDS/doi-service/issues/348

tloubrieu-jpl commented 2 years ago

Hi @ramesh-maddegoda , I was able to make the decode function also verify the issuer. That should be ok to start with that update. Thanks again for your help on that.

jordanpadams commented 2 years ago

@ramesh-maddegoda do you mind taking over this PR and making the necessary changes for @tloubrieu-jpl?

ramesh-maddegoda commented 2 years ago

@jordanpadams, I can do the changes.