Skip to main content

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',
}
```


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

djangorestframework-firebase-0.1.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangorestframework_firebase-0.1.2-py2-none-any.whl (4.4 kB view details)

Uploaded Python 2

File details

Details for the file djangorestframework-firebase-0.1.2.tar.gz.

File metadata

File hashes

Hashes for djangorestframework-firebase-0.1.2.tar.gz
Algorithm Hash digest
SHA256 52dfe48696c42dc56f5c0b599a4800f848acfb68242b9cb42329efe9888478e0
MD5 860f71b5562fc1cc9aed741e1ec88fa0
BLAKE2b-256 beba85a42cbdaf934a7bedb824288b22fb4aa68cef15ef3648defd2bcb15e32b

See more details on using hashes here.

File details

Details for the file djangorestframework_firebase-0.1.2-py2-none-any.whl.

File metadata

File hashes

Hashes for djangorestframework_firebase-0.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 b771d5ca34268ca9da5253fb7ca1541775ca9797f0badae9bdaf4df502aa815e
MD5 c9821b57492928a5e9f796075d26c187
BLAKE2b-256 1d9a338bc446571cf617c4fc41abb3d80d2b03e642122aeb49523429cacca283

See more details on using hashes here.

Supported by

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