Skip to main content

Jetbrains Hub OAuth2 provider for django-allauth

Project description

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

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

django-allauth-jetbrains-hub-0.0.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page