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.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for djangorestframework-firebase-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7979ab45fdcd1ac5c4f2778d7093d23327e0f41cd77bd3f658ac6a411c6a2da8
MD5 5486d044e711c7f398f71307c3137812
BLAKE2b-256 0cd0f257e24f9b5e92f70ce07341156482e61c620a585e0373925883bd10bbab

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