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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for djangorestframework-firebase-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f142de27e06a7958816e1b41ccc67333fe906cf449cd1e0bfa36f044a2c42ac5
MD5 03579b3f86fb1a818bc7e5fa00caa721
BLAKE2b-256 1237b05d8d59bf23051d0bdcf95d536f0f5b62449c1e3b5bf5f5b4bbc2200db8

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