Qiita¶
Backend class¶
For Django, add this class path to AUTHENTICATION_BACKENDS. For other
integrations, use the same class path in the framework-specific backend
setting.
Backend name |
Class path |
|---|---|
|
|
Qiita
Register a new application at Qiita, set the callback URL to
http://example.com/complete/qiita/replacingexample.comwith your domain.Fill
Client IDandClient Secretvalues in the settings:SOCIAL_AUTH_QIITA_KEY = '' SOCIAL_AUTH_QIITA_SECRET = ''
Also it’s possible to define extra permissions with:
SOCIAL_AUTH_QIITA_SCOPE = [...]
See auth scopes at Qiita Scopes docs.
Default behavior is to identify users by their id. However, this can be changed by renaming accounts, etc.
If you want to identify each user with a unique permanent_id, set the following:
SOCIAL_AUTH_QIITA_IDENTIFIED_BY_PERMANENT_ID = True