- ru
- Language: en
- Documentation version: 0.1
Uber¶
Uber uses OAuth v2 for Authentication.
Register a new application at the Uber API, and follow the instructions below
OAuth2¶
Add the Uber OAuth2 backend to your settings page:
SOCIAL_AUTH_AUTHENTICATION_BACKENDS = ( ... 'social_core.backends.uber.UberOAuth2', ... )
Fill
Client Id
andClient Secret
values in the settings:SOCIAL_AUTH_UBER_KEY = '' SOCIAL_AUTH_UBER_SECRET = ''
Scope should be defined by using:
SOCIAL_AUTH_UBER_SCOPE = ['profile', 'request']