Debian Codegraph @

allauth/socialaccount/providers/fxa/constants.py

raw
1 from django.conf import settings
2
3
4 _FXA_SETTINGS = getattr(settings, "SOCIALACCOUNT_PROVIDERS", {}).get("fxa", {})
5 FXA_OAUTH_ENDPOINT = _FXA_SETTINGS.get(
6 "OAUTH_ENDPOINT", "https://oauth.accounts.firefox.com/v1"
7 )
8 FXA_PROFILE_ENDPOINT = _FXA_SETTINGS.get(
9 "PROFILE_ENDPOINT", "https://profile.accounts.firefox.com/v1"
10 )
11 PROVIDER_ID = "fxa"