---
title: "Discussion on \"Setup Social Authentication In Django Rest Framework\" | Hashnode"
description: "Discussion on \"Setup Social Authentication In Django Rest Framework\". With the Global surge in internet users, as well as people embracing and gaining access to digital products, It's become the goal of many applications to bring the best user experience and retain many guest users. Social Authentication aims at simpli..."
url: "https://hashnode.com/posts/setup-social-authentication-in-django-rest-framework/5f5e7ad2ddc3fe5f4f24dc75"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setup Social Authentication In Django Rest Framework](https://blog.nextwebb.tech/setup-social-authentication-in-django-rest-framework?utm_source=hashnode&utm_medium=feed)

With the Global surge in internet users, as well as people embracing and gaining access to digital products, It's become the goal of many applications to bring the best user experience and retain many guest users. Social Authentication aims at simpli...

Sep 13, 2020 · 3 min read · blog.nextwebb.tech  
Updated Feb 27, 2023  
Read the article

-   [#authentication](https://hashnode.com/tag/authentication)
-   [#django](https://hashnode.com/tag/django)
-   [#rest-api](https://hashnode.com/tag/rest-api)
-   [#facebook](https://hashnode.com/tag/facebook)
-   [#python3](https://hashnode.com/tag/python3)

## Written by

[Nextwebb](https://hashnode.com/@nextwebb)

@nextwebb · Worldwide

  
[View profile](https://hashnode.com/@nextwebb)

Software engineer , Open-source contributor && Community lead :)

SWE | Avid learner | Technical director @repotecc | open-source contributor | Web enthusiast | Community lead @DscOui and developer advocate

## Responses 2

Markdown supported · ⌘↵ to post

[Ronald TAYIE](https://hashnode.com/@RonnieTayie)

[Aug 18, 2022](https://hashnode.com/posts/setup-social-authentication-in-django-rest-framework/5f5e7ad2ddc3fe5f4f24dc75/comment/62fec6eff1a220fcdbb65832)

Hie there. I have followed you toturial. I do get the form howevery there is an extra field called "Id token". I have not idea what variable or value goes there.

[Nextwebb](https://hashnode.com/@nextwebb)

[Feb 21, 2023](https://hashnode.com/posts/setup-social-authentication-in-django-rest-framework/5f5e7ad2ddc3fe5f4f24dc75/comment/62fec6eff1a220fcdbb65832#reply-63f478c575350fc1ff68f8ff)

Thank you for reading my blog [Ronald TAYIE](https://hashnode.com/@RonnieTayie)!

In the context of your form, you may need to obtain the access token after the social login process and pass it to the server-side as the "Id token" field. The exact implementation may depend on the specific social authentication provider you are using and the backend framework you are working with.

I hope this helps!

[DJANGO DEVELOPER](https://hashnode.com/@djangoexpert)

[Jun 1, 2021](https://hashnode.com/posts/setup-social-authentication-in-django-rest-framework/5f5e7ad2ddc3fe5f4f24dc75/comment/60b610ae8dde635c3355a0b5)

it is incomplete tutorial.

[Nextwebb](https://hashnode.com/@nextwebb)

[Jun 2, 2021](https://hashnode.com/posts/setup-social-authentication-in-django-rest-framework/5f5e7ad2ddc3fe5f4f24dc75/comment/60b610ae8dde635c3355a0b5#reply-60b76d402102c86fd6d183ad)

Hopefully, you can improve it , with other recommendations 😊

[DJANGO DEVELOPER](https://hashnode.com/@djangoexpert)

[Jun 2, 2021](https://hashnode.com/posts/setup-social-authentication-in-django-rest-framework/5f5e7ad2ddc3fe5f4f24dc75/comment/60b610ae8dde635c3355a0b5#reply-60b77b872102c86fd6d18635)

[Peterson Oaikhenah](https://hashnode.com/@nextwebb) I can't. I followed all of your steps but I am not able to logged in via facebook. I am getting error of URL blocked and Url can't find. can you guide me here?

[Nextwebb](https://hashnode.com/@nextwebb)

[Feb 21, 2023](https://hashnode.com/posts/setup-social-authentication-in-django-rest-framework/5f5e7ad2ddc3fe5f4f24dc75/comment/60b610ae8dde635c3355a0b5#reply-63f477e93c8949b64ddcd87b)

Thank you your reading my blog [DJANGO DEVELOPER](https://hashnode.com/@djangoexpert) !

I suggest checking your Facebook app settings to make sure that the URLs you specified match the URLs in your code.

Also, ensure that you have specified the correct callback URLs in your Facebook app settings. If the issue persists, you can try to search for similar issues on forums or stack overflow to see if anyone has encountered a similar problem.

Additionally, you can add more details about the error message to your question to help people provide more specific suggestions.
