labd / django-cognito-jwt

An Authentication backend for Django Rest Framework for AWS Cognito JWT tokens
MIT License
177 stars 59 forks source link

Example authentication flow? #11

Open brylie opened 5 years ago

brylie commented 5 years ago

Could you add an example authentication flow to the README? That would be helpful, to see how this authentication works from the client.

elcolie commented 5 years ago

After I check the code. Frontend supposed to get token from the AWS. Then with the given document Django just do a validation on it. To avoid double requests.

OmairK commented 4 years ago

I feel there is a lot of valuable information in the conversations as to how this library should be implemented, so I would like to add a PR to improve the documentation.

elcolie commented 4 years ago

https://medium.com/@sarit.r/aws-cognito-and-jwt-token-850dd252750f Hope this help

mrgoos commented 4 years ago

It's too specific IMO, the example in Medium. My use case is using it in API and not in Django admin user management. Can someone post an example from their own experience or a different resource? Thanks a lot.

matiszz commented 2 years ago

Hey, any updates on this? I'm not managing to make it work, even following the Medium article