Skip to main content

A simple Django app to enable oAuth2 for iHela with django-allauth.

Project description

iHela Provider is a simple Django app to enable oAuth2 authentication with django-allauth.

Quick start

  1. Install django-allauth

    pip install django-allauth and following the install guide

  2. Add “ihelaprovider” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        "allauth",
        "allauth.account",
        "allauth.socialaccount",
        "ihelaprovider",
    ]
    
  3. Include the polls URLconf in your project urls.py like this:

    path("oAuth2/", include("ihelaprovider.urls")),
    
  4. Run python manage.py migrate to create the polls models.

  5. Start the development server and visit http://127.0.0.1:8000/admin/ to the iHela provider with the application credentials given (you’ll need the Admin app enabled).

Visit iHela and django-allauth.

Project details


Download files

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

Files for ihela-oauth2-provider, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size ihela-oauth2-provider-0.2.2.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page