tokusumi / fastapi-cloudauth

Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).
MIT License
323 stars 35 forks source link

Having trouble figuring out "next steps" #78

Open writeson opened 1 year ago

writeson commented 1 year ago

I'm a "noob" where Cognito is concerned and could be missing something about accessing the example API's. I've got an AWS User Pool defined with a user created. How do I log that user in, or get a JWT Token to use to authorize the example API to access the endpoints? Thanks for your help.

DEADSEC-SECURITY commented 1 year ago

Hey @writeson you could use the frontend SDK to do so and login the user and then pass the token to the backend.