grim/django-allauth-jetbrains-hub

django-allauth-jetbrains-hub

Jetbrains Hub OAuth2 provider for django-allauth

Installation

Requirements

Python Package

pip install django-allauth-jetbrains-hub

settings.py

The server value in the path request must be set to point to your Jetbrains hub instance and include the full path to it. For example, if your instance is at https://example.com/ but you get redirected to https://example.com/hub/ you should set server to https://example.com/hub/.

INSTALLED_APPS = (
    ...
    # The following apps are required:
    'django.contrib.auth',
    'django.contrib.sites',

    'allauth',
    'allauth.account',
    'allauth.socialaccount',
     ...
     # Add allauth_microsoft to installed_apps
     'allauth_jetbrains_hub'
     ...
)

SOCIALACCOUNT_PROVIDERS = {
    'jetbrains-hub': {
        'SERVER': 'https://example.com/hub/',
    }
}

Post-Installation

Create service in your hub instance

Contributors

Forked from github.com/schaenzer/django-allauth-microsoft.

License

MIT License

Recent Changes
Tags
Branches
Bookmarks