如何使用 Django 创建社交应用程序令牌
我成功地完成了本教程: https://www.section.io/engineering-education/django-google -oauth/
在本教程中,她创建了如何使用谷歌登录。 我刚刚开始学习 Django 后端,我想用 django Rest api 发送这些数据。 我的朋友是前端,他需要我的用户数据。他说创建代币。 我对创建令牌感到困惑。我在表中看到有一个名称“社交应用程序令牌”。 我的问题是:
当用户使用 Google 登录时,如何自动创建社交应用程序令牌?以及创建该令牌的工具是什么?
I'm Successfully With This Tutorial :
https://www.section.io/engineering-education/django-google-oauth/
In this tutorial, she's created how to login with google.
I Just Started To Learn Back End With Django, And i Want to send this data with django rest api.
My Friend is Front End and he need my user data. He said create the tokens.
Im Confused to create the tokens. And i see in the table there is a name "Social Application Tokens".
My Question is:
How To Create Social Application Tokens Automaticly when user login with Google?, And Whats the tools to create that ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
每当我想使用 Django 实现社交登录时,我都会使用此指南:
https://www.youtube.com/watch?v=wlcCvzOLL8w&list=PLOLrQ9Pn6caw0PjVwymNc64NkUNbZlhFw&index=9
希望这对您有帮助
I use this as a guide anytime I want to implement social login with Django:
https://www.youtube.com/watch?v=wlcCvzOLL8w&list=PLOLrQ9Pn6caw0PjVwymNc64NkUNbZlhFw&index=9
Hope this helps you