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
-
django >= 1.7.7
-
django-oauth-toolkit >= 0.10.0
-
django-rest-framework >= 3.1.1
-
firebase-admin
Installation
-
Install using pip
pip install ext-auth
Usage
-
Add
ext_authto your INSTALLED_APPS.INSTALLED_APPS = [ ... 'ext_auth', ]
-
Run
python manage.py migrateto create the ext_auth models.
** The register and login Apiview sample is under ext_auth.rest-framework.firebase
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
788fba6e38d554723d265a5a73eede986905267678853e876706f2998676611c
|
|
| MD5 |
640c53561f205454ff1ff4728ccfd48f
|
|
| BLAKE2b-256 |
116a80f2347ceabbfb44c60cf734142dc713685df470364865163f3e813f9f31
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c70cf1493a1833c35d97e7bbc620bc70970ad1866549d801d82647d5a9beb40
|
|
| MD5 |
5e18b72f82554083d1c6e61c1d1315b6
|
|
| BLAKE2b-256 |
d4b505ce8389c7ba33bb6e356f4790267e3534acabf7366cd34738b9df0df34e
|