I am using Flutter for a mobile app and django for backend API. I want user to be able to login with accounts from Facebook, Google etc. How Can I implement this?
Also I saw that dj-rest-auth provides requests for Social Media Authentication. Should I use something like this?
2
Answers
There is flutter_facebook_login package. You can use it like this:
And google_sign_in package for the other part of your question. Here is a complete example:
try to use jwt which is JSON web token