| 1 |
Line |
| 2 |
---- |
| 3 |
|
| 4 |
scope options |
| 5 |
https://developers.line.biz/en/docs/line-login/integrate-line-login/#scopes |
| 6 |
|
| 7 |
App registration, create a Line login channel (get your channel_id and channel_secret here) |
| 8 |
https://developers.line.biz/console/ |
| 9 |
|
| 10 |
Development callback URL |
| 11 |
http://127.0.0.1:8000/accounts/line/login/callback/ |
| 12 |
|
| 13 |
.. code-block:: python |
| 14 |
|
| 15 |
SOCIALACCOUNT_PROVIDERS = { |
| 16 |
'line': { |
| 17 |
'APP': { |
| 18 |
'client_id': 'LINE_LOGIN_CHANNEL_ID', |
| 19 |
'secret': 'LINE_LOGIN_CHANNEL_SECRET' |
| 20 |
}, |
| 21 |
"SCOPE": ['profile', 'openid', 'email'] |
| 22 |
} |
| 23 |
} |