new yandex
This commit is contained in:
@@ -13,7 +13,7 @@ class YandexAuthView(BaseView):
|
||||
def get(self):
|
||||
code = self.request.GET['code']
|
||||
response = post('https://oauth.yandex.ru/token', data={
|
||||
'client_id': '38f1906e99de4810bd79828f420ba885',
|
||||
'client_id': '2c5235f2ce5b4665856d15f70aa876f2',
|
||||
'client_secret': settings.YANDEX_SERVICE_TOKEN,
|
||||
'grant_type': 'authorization_code',
|
||||
'code': code
|
||||
|
Reference in New Issue
Block a user