Register a new application at Qiita, set the callback URL to
example.comwith your domain.
Client 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