S
S
Sergey Zaigraev2017-05-25 06:32:26
Classmates
Sergey Zaigraev, 2017-05-25 06:32:26

Authentication on the site through Odnoklassniki how to solve problems with logging in?

I make the possibility of authentication through social networks in the ordering process, the site on Bitrix.
fd5d323e1e984314aec3856454f8cb72.png
Faced such a problem, after confirmation in the login form:
1436ba6344fb4e2d9f459832259943fe.png
I am redirected to the same page, but authorization does not occur, but I get a trace in the address bar. GET
parameters:
572f2d785bed4f1db12a22692040644e.png
what is this error related to? and how can it be solved?
Parameters that I pass in the URL for authorization

"?client_id=".urlencode($this->appID).
            "&scope=VALUABLE_ACCESS,GET_EMAIL".
            "&response_type=code".
            "&redirect_uri=".urlencode($redirect_uri).
            "&layout=w";

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2017-05-25
@Vjaka

Apparently, authorization through OK goes well, the problem is on the side of the linking module with OK on Bitrix. That's where you need to dig.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question