| 1 |
DingTalk |
| 2 |
-------- |
| 3 |
|
| 4 |
The DingTalk OAuth2 documentation: |
| 5 |
|
| 6 |
https://open.dingtalk.com/document/orgapp-server/obtain-identity-credentials |
| 7 |
|
| 8 |
You can optionally specify additional scope to use. If no ``SCOPE`` value |
| 9 |
is set, will use ``openapi`` by default(for Open Platform Account, need |
| 10 |
registration). Other ``SCOPE`` options are: corpid. |
| 11 |
|
| 12 |
.. code-block:: python |
| 13 |
|
| 14 |
SOCIALACCOUNT_PROVIDERS = { |
| 15 |
'dingtalk': { |
| 16 |
'APP': { |
| 17 |
'client_id': 'xxxx', |
| 18 |
'secret': 'xxxx', |
| 19 |
}, |
| 20 |
} |
| 21 |
} |