【问题标题】:Django rest auth with Google and VK? [closed]Django 使用 Google 和 VK 进行身份验证? [关闭]
【发布时间】:2018-03-26 14:58:51
【问题描述】:

我的 Django 项目中需要 SOCIAL REST AUTH 用于 SPA 和 iOS 应用程序。

我知道的最好的库是django-rest-auth(对于allauth), 但是谷歌和vk没有用于rest auth的序列化程序和视图。 有人有 google 和 vk 的视图和序列化程序吗?或者可能有人知道如何基于 facebook 序列化程序和视图编写它?

【问题讨论】:

  • 我修复了问题。现在它是特定的。我需要使用 django-rest-auth 库使用 google 和 vk 进行 rest auth 的视图和序列化程序。

标签: django django-rest-framework python-social-auth django-socialauth


【解决方案1】:

试试这个Python Social Auth - Application - Django 在这里你有documentation 你也可以在那里找到 google、VK 和 Instagram。

【讨论】:

  • 我需要 REST AUTH !!!现场正常的身份验证在 django-allauth 中非常好,并且工作正常。但是 REST 身份验证存在一个奇怪的问题...
猜你喜欢
  • 1970-01-01
  • 2021-01-19
  • 2017-03-11
  • 2018-10-19
  • 1970-01-01
  • 2022-01-12
  • 2021-07-19
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多