Debian Codegraph @

docs/socialaccount/providers/fxa.rst

raw
1 Firefox Accounts
2 ----------------
3
4 The Firefox Accounts provider is currently limited to Mozilla relying services
5 but there is the intention, in the future, to allow third-party services to
6 delegate authentication. There is no committed timeline for this.
7
8 The provider is OAuth2 based. More info:
9 https://developer.mozilla.org/en-US/Firefox_Accounts
10
11 The following Firefox Accounts settings are available:
12
13 .. code-block:: python
14
15 SOCIALACCOUNT_PROVIDERS = {
16 'fxa': {
17 'SCOPE': ['profile'],
18 'OAUTH_ENDPOINT': 'https://oauth.accounts.firefox.com/v1',
19 'PROFILE_ENDPOINT': 'https://profile.accounts.firefox.com/v1',
20 }
21 }
22
23 SCOPE:
24 Requested OAuth2 scope. Default is ['profile'], which will work for
25 applications on the Mozilla trusted whitelist. If your application is not
26 on the whitelist, then define SCOPE to be ['profile:email', 'profile:uid'].
27
28 OAUTH_ENDPOINT:
29 Explicitly set the OAuth2 endpoint. Default is the production endpoint
30 "https://oauth.accounts.firefox.com/v1".
31
32 PROFILE_ENDPOINT:
33 Explicitly set the profile endpoint. Default is the production endpoint
34 and is "https://profile.accounts.firefox.com/v1".