A
A
Alexey Kirkman2017-08-14 15:21:17
Yii
Alexey Kirkman, 2017-08-14 15:21:17

How to fix error when authorizing via OK in EAuth extension for yii2?

The error is
EAuthException: PAGE_NOT_FOUND : Handling controller for path /api/ not found
Other social networks work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Kirkman, 2017-08-16
@LexKirkman

EAuth is deprecated. API is old. Changed in class OdnoklassnikiOAuth2Service
$baseApiUrl = ' https://api.ok.ru/api
to
$baseApiUrl = ' https://api.ok.ru/api/users/getCurrentUser ';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question