Jetbrains Hub OAuth2 provider for django-allauth
pip install django-allauth-jetbrains-hub
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/',
}
}
Forked from github.com/schaenzer/django-allauth-microsoft.