Skip to main content

A simple Django app register and login via 3rd party Auth

Project description

User External Auth

User External Auth is a wrapper Django app for 3rd Party token auth, and convert it to Django OAuth2 token (django-oauth-toolkit).

For now only focus on Firebase Auth ID Token.

More feature and convenient methods will include in the future.

Register and Login Apiview is ready and it is using Django Rest Framework library.

Requirements

  1. django >= 1.7.7

  2. django-oauth-toolkit >= 0.10.0

  3. django-rest-framework >= 3.1.1

  4. firebase-admin

Installation

  1. Install using pip

    pip install ext-auth

Usage

  1. Add ext_auth to your INSTALLED_APPS.

    INSTALLED_APPS = [ ... 'ext_auth', ]

  2. Run python manage.py migrate to create the ext_auth models.

** The register and login Apiview sample is under ext_auth.rest-framework.firebase

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ext_auth-0.1.18.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

ext_auth-0.1.18-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file ext_auth-0.1.18.tar.gz.

File metadata

  • Download URL: ext_auth-0.1.18.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for ext_auth-0.1.18.tar.gz
Algorithm Hash digest
SHA256 788fba6e38d554723d265a5a73eede986905267678853e876706f2998676611c
MD5 640c53561f205454ff1ff4728ccfd48f
BLAKE2b-256 116a80f2347ceabbfb44c60cf734142dc713685df470364865163f3e813f9f31

See more details on using hashes here.

File details

Details for the file ext_auth-0.1.18-py3-none-any.whl.

File metadata

  • Download URL: ext_auth-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for ext_auth-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 6c70cf1493a1833c35d97e7bbc620bc70970ad1866549d801d82647d5a9beb40
MD5 5e18b72f82554083d1c6e61c1d1315b6
BLAKE2b-256 d4b505ce8389c7ba33bb6e356f4790267e3534acabf7366cd34738b9df0df34e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page