Firebase based authentication for Django REST framework
Project description
# Django Rest Framework Firebase Auth
## Installation
```
pip install djangorestframework-firebase
```
On your project's `settings.py` add this to the `REST_FRAMEWORK` configuration
```
REST_FRAMEWORK = {
...
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework_firebase_auth.authentication.Firebaseuthentication',
)
...
}
```
Get admin credentials `.json` from the Firebase SDK and add them to your project
Also in your project's `settings.py` :
```
FIREBASE_AUTH = {
'FIREBASE_ACCOUNT_KEY_FILE': 'path_to_your_credentials.json',
}
```
## Installation
```
pip install djangorestframework-firebase
```
On your project's `settings.py` add this to the `REST_FRAMEWORK` configuration
```
REST_FRAMEWORK = {
...
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework_firebase_auth.authentication.Firebaseuthentication',
)
...
}
```
Get admin credentials `.json` from the Firebase SDK and add them to your project
Also in your project's `settings.py` :
```
FIREBASE_AUTH = {
'FIREBASE_ACCOUNT_KEY_FILE': 'path_to_your_credentials.json',
}
```
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
File details
Details for the file djangorestframework-firebase-0.1.1.tar.gz.
File metadata
- Download URL: djangorestframework-firebase-0.1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7979ab45fdcd1ac5c4f2778d7093d23327e0f41cd77bd3f658ac6a411c6a2da8
|
|
| MD5 |
5486d044e711c7f398f71307c3137812
|
|
| BLAKE2b-256 |
0cd0f257e24f9b5e92f70ce07341156482e61c620a585e0373925883bd10bbab
|