A
A
Alexey Tsarapkin2018-10-04 10:16:35
OAuth
Alexey Tsarapkin, 2018-10-04 10:16:35

How to make the correct redirect for OAuth authorization in CMS NetCat?

Colleagues welcome ....
Help me out, I'm slowing down ...
CMS NetCat
I'm trying to make authorization through social networks using the OAuth method (the one for which there is no documentation on the site)
I set up social networks, displayed the form

<?= $nc_auth->auth_form( null, array('auth_form' => "%oauth_form", 'auth_text' => '') ) ?>

And everything is fine, only after passing the authorization it throws out to the main page, is it possible to return the user to the page from which he left?
I look at something in the code, it seems like it should be, but how to implement it.
Maybe somehow send REQUESTED_FROM and REQUESTED_BY to social networks so that they then return these parameters ...
In general, I don’t quite understand. Someone already did?
OAuth, as I understand it, is implemented in CMS using hybridauth. To be honest, I have not worked with it before.
Maybe someone will tell you how and what should be transferred exactly to hybridauth, and then I’ll figure it out somehow.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Tsarapkin, 2018-10-04
@Dreamka

The question is removed in principle. Support response
But if you have any ideas please share.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question