docs/socialaccount/providers/atlassian.rst
Atlassian OAuth 2.0 (3LO) apps provider.
More info: https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/
Enabling OAuth 2.0 (3LO)
Before you can implement OAuth 2.0 (3LO) for your app, you need to enable it for your app using the developer console.
Atlassian developer console https://developer.atlassian.com/console/myapps/
http://127.0.0.1:8000/accounts/atlassian/login/callback/Note, if you haven't already added an API to your app, you should do this now:
Django setup
The app credentials are configured for your Django installation via the admin
interface. Create a new socialapp through /admin/socialaccount/socialapp/.
Fill in the form as follows:
Optionally, you can specify the scope to use as follows:
.. code-block:: python
SOCIALACCOUNT_PROVIDERS = {
'atlassian': {
'SCOPE': [
'read:me',
'write:jira-work',
],
}
}
.. note:: By default (if you do not specify SCOPE), read:me scope is requested.