django-allauth (Python)
Sign in with Atheron in django-allauth.
Connectez-vous pour voir votre propre ID client de test dans les exemples.
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"],
},
}Demandez à Atlas
Assistant IAPosez n'importe quelle question sur Se connecter avec Atheron, l'API ou le portail. La réponse vient de notre documentation, avec les liens des pages utilisées.