DEV Community

Cover image for Day 26 of #100DaysOfCode: [OAuth2.0] integrate ReactJS and Django with Social login (Facebook)
Jen-Hsuan Hsieh
Jen-Hsuan Hsieh

Posted on

Day 26 of #100DaysOfCode: [OAuth2.0] integrate ReactJS and Django with Social login (Facebook)

Introduction

We have mentioned that how to make endpoints with JWT authorization. Also, we have introduce how to connect ReactJS with Django.

What if we want to enable social login for social media like Facebook?
This article will introduce the process to exchange the access token from Facebook to JWT for authorization.

Details

Please refer to my article.
There are four roles, Django server, ReactJS client, Facebook authorize server, and the user.
Alt Text

https://medium.com/a-layman/exchange-facebooks-access-token-to-jwt-from-django-drf-server-for-social-login-1bf7d1801cb7

Articles

There are some of my articles. Feel free to check if you like!

Top comments (0)