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.

Source Distribution

ihela-oauth2-provider-0.2.2.tar.gz (4.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page