Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Fyle OAuth2 provider for Django, lets you associate Fyle accounts with your User accounts.

Project description


Fyle OAuth 2.0 provider for django-allauth, lets you associate Fyle accounts with your User accounts.


Install django-allauth and configure it.

Quick start

  1. Install fyle-django-allauth

    pip install fyle-django-allauth
  2. Include 'fyle_allauth' in the INSTALLED_APPS section of :

    'fyle_allauth'  # new 
  3. Fyle App registration (get your client_id and client_secret here)

    1. Login to Fyle
    2. Goto settings and click on Developers
    3. Click on create new app, enter the details and select type as OAuth 2.0
    4. For Redirect URI enter
      1. 'http://localhost:8000/accounts/fyle/login/callback/' for development
      2. 'https://your_domain/accounts/fyle/login/callback/' for production
    5. Note down the client_secret and client_id
  4. Open django-admin and create a new record under Social Applications Select Fyle as provider and enter the above noted client_secret and client_id.

    Final step is to add our site to the Chosen sites on the bottom.

  5. Visit http://localhost:8000/accounts/fyle/login to login using your Fyle account.

  6. If using a custom user model then add the below lines to

# For custom user model that has email as the user identifying field

# Disable verification mail [optional]

For more info on customisation refer the django-allauth documentation

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fyle-django-allauth, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size fyle_django_allauth-0.1.0-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size fyle-django-allauth-0.1.0.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page