Steam OpenID¶
Steam OpenID works quite straightforward, but to retrieve some user data (known
as player
on Steam API) a Steam API Key is needed.
Настраиваемые параметры:
Supply a Steam API Key from Steam Dev
Fill key in your project settings:
SOCIAL_AUTH_STEAM_API_KEY = '...'
Чтобы сохранить
player
данные, предоставленные Steam, вextra_data
:SOCIAL_AUTH_STEAM_EXTRA_DATA = ['player']
Enable the backend:
SOCIAL_AUTH_AUTHENTICATION_BACKENDS = ( ... 'social_core.backends.steam.SteamOpenId', ... )