Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Авторизация через mail.ru

Featured Replies

Posted

Все сделал, данные получаю, но не удается авторизоваться. Переадресовывает на страницу входа с сообщением:

Что-то пошло не так. Пожалуйста, попробуйте ещё раз.

В системных логах:

Array

(

    [nickname] => Дмитрий
    [client_id] => 9e80cc56d66
    [id] => 207303
    [image] => https://filin.mail.ru/pic?d=3wUBhiVWaTmp_AFJeieZxBIJ6oy9tbVGLcnXNWibU5f3w_eg~~&width=180&height=180
    [first_name] => Дмитрий
    [email] => mors@mail.ru
    [name] => Дмитрий
    [gender] => m
    [birthday] => 04.01.2003

)

#0 /var/www/site.ru/system/Login/Handler/OAuth2/Custom.php(474): IPS\Log::log()
#1 /var/www/site.ru/system/Login/Handler/OAuth2/Custom.php(319): IPS\Login\Handler\OAuth2\Custom->_userData()
#2 /var/www/site.ru/system/Login/Handler/OAuth2/OAuth2.php(420): IPS\Login\Handler\OAuth2\Custom->authenticatedUserId()
#3 /var/www/site.ru/system/Login/Handler/OAuth2/OAuth2.php(404): IPS\Login\Handler\OAuth2->_processAccessToken()
#4 /var/www/site.ru/system/Login/Handler/OAuth2/OAuth2.php(194): IPS\Login\Handler\OAuth2->_handleAuthorizationResponse()
#5 /var/www/site.ru/system/Login/Login.php(354): IPS\Login\Handler\OAuth2->authenticateButton()
#6 /var/www/site.ru/applications/core/modules/front/system/login.php(93): IPS\Login->authenticate()
#7 /var/www/site.ru/system/Dispatcher/Controller.php(139): IPS\core\modules\front\system\login->manage()
#8 /var/www/site.ru/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
#9 /var/www/site.ru/index.php(16): IPS\Dispatcher->run()
#10 {main}

Получается, по нажатию на кнопку, отправляет на mail.ru, далее возвращает на форум с токеном. Далее форум отправляет на mail.ru запрос, видно что данные пользователя получены.

А далее, вероятно не верно указал параметры

22.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.