# RealmTeam/django-rest-framework-social-oauth2

python-social-auth and oauth2 support for django-rest-framework

Repository: https://github.com/RealmTeam/django-rest-framework-social-oauth2
Canonical: https://ross.abutalabs.com/products/django-rest-framework-social-oauth2
Language: Python
License: MIT
License Family: permissive
Topics: python, django, django-rest-framework, python-social-auth, oauth2
Last push: 2026-04-17T20:24:57+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 35, longevity 100
- inputs: {"age_days": 4201, "days_push": 138, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1066, forks 189 (observed 2026-08-28T04:03:27.008164+00:00)

## What it is
A Django package that integrates python-social-auth and django-oauth-toolkit to provide OAuth2 social authentication for Django REST Framework APIs, including acting as an OAuth2 provider. It is deprecated and no longer maintained, with django-allauth recommended as the replacement.

## Use cases
- add social login to a django rest framework api
- authenticate drf endpoints with oauth2 tokens
- turn a django app into an oauth2 provider
- support facebook or google sign-in for a rest api
- exchange social auth tokens for oauth2 tokens in drf

## When to choose
- maintaining a legacy django project already using this package
- you need the exact python-social-auth + django-oauth-toolkit integration it provides

## When to avoid
- starting a new django rest framework project
- you want actively maintained social authentication - use django-allauth instead
- you need support for recent django or drf versions

## Facets
- artifact type: library
- maturity: abandoned
- function: auth, authorization, middleware
- domain: web-development, backend, apis, security
- platform: python
- tags: django, django-rest-framework, oauth2, social-auth, deprecated, python-social-auth, django-oauth-toolkit, web-server

## Member repositories
- RealmTeam/django-rest-framework-social-oauth2 (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:27.008164+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:55:13.691762+00:00, confidence not recorded.
  - readme: https://github.com/RealmTeam/django-rest-framework-social-oauth2 (fetched 2026-08-28T04:03:27.008164+00:00, sha 2fef77f7f4f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
