vimalloc / flask-jwt-simple

A barebones Flask extension for creating and protecting endpoints with JWT
MIT License
69 stars 12 forks source link

AWS Cognito #5

Closed SimplySeth closed 6 years ago

SimplySeth commented 6 years ago

AWS Cognito gives me:

Can I just plug in the Access Token somewhere and make it work ?

And by 'plug in' I mean auth to cognito (with warrant module ) and pass the token to flask-jwt-simple

I'm trying to figure out how to make flask-jwt-simple work with cognito.

Thanks.

vimalloc commented 6 years ago

I'm not sure what Cognito is, so I couldn't way for sure. If it provides you with a JWT then it shouldn't be hard at all to consume with this extension. You just need to set the algorithm and decode key in this extension to the correct values and everything should just work.