new yandex

This commit is contained in:
Administrator
2023-10-09 23:46:28 +03:00
parent 81012de98c
commit 6bb4e9ac44
3 changed files with 3 additions and 3 deletions

View File

@@ -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