django-allauth (Python)
Sign in with Atheron in django-allauth.
Melden Sie sich an, um Ihre eigene Test-Client-ID in den Beispielen zu sehen.
Coming soon. aton-network is not published on PyPI yet, so the install line on this page does not work until it is. Until then, everything works over plain HTTP: pick cURL in any code block, or start from Endpoints.
aton_network.contrib.allauth is Atheron as a django-allauth provider, with PKCE on. Install with pip install aton-network[allauth].
Settings
Register https://your.app/accounts/atheron/login/callback/ as the redirect address. The account's email comes from Atheron only when it is verified; the person's ID (sub) is the account's UID.
INSTALLED_APPS = [..., "allauth", "allauth.account", "allauth.socialaccount", "aton_network.contrib.allauth"]
SOCIALACCOUNT_PROVIDERS = {
"atheron": {
"APPS": [{"client_id": env("ATHERON_CLIENT_ID"), "secret": env("ATHERON_CLIENT_SECRET")}],
"SCOPE": ["openid", "profile", "email"],
},
}Fragen Sie Atlas
KI-AssistentFragen Sie alles zu Mit Atheron anmelden, zur API oder zum Portal. Die Antwort kommt aus unserer Dokumentation, mit Links zu den genutzten Seiten.