django-allauth-jetbrains-hub
Jetbrains Hub OAuth2 provider for django-allauth
Installation
Requirements
- django-allauth (https://github.com/pennersr/django-allauth)
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
- Create a service in your hub instance as documented here.
- Open the service in HUB.
- Set the Redirect URI to https://example.com/accounts/jetbrains-hub/login/callback/.
- Copy your Application ID and click change secret to get a new secret.
- Enter the Application ID and Secret into the Django Admin interface.
Contributors
- Gary Kramlich grim@reaperworld.com
Forked from github.com/schaenzer/django-allauth-microsoft.
License
Metadata
Release files for django-allauth-jetbrains-hub 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-allauth-jetbrains-hub-0.0.2.tar.gz | 3.1 kB | Without provenance | Details for django-allauth-jetbrains-hub-0.0.2.tar.gz |
Release files / django-allauth-jetbrains-hub-0.0.2.tar.gz
| Download URL | django-allauth-jetbrains-hub-0.0.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
011bded0a3672d62c6c1198f3a6b82ada670570a8af0adf0d5056f1c46bd1079
|
|
BLAKE2b-256 checksum How to use checksums |
4dc25f11f37ebdbd3b1af0a5d86f41af62ee72cd8049a49a389ca25bc32f631f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for django-allauth-jetbrains-hub 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.