Z
Z
zaart2021-07-30 12:43:58
PHP
zaart, 2021-07-30 12:43:58

How to mask the login link through the social network?

Hello!

Now, when I visit site.ru/lk, links are generated immediately and look like:

https://accounts.google.com/o/oauth2/v2/auth?scope...

On different sites, I have seen that links look like :

https://site.com/authorize/facebook
https://site.com/authorize/google

and then they are generated like mine.

Can you please tell me how to implement this? At first I wanted to do it through htaccess, but I have several parameters randomly generated in the url.

PS: Or are links like https://site.com/authorize/google just masking hotel scripts?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2021-07-30
@zaart

The link handler "of the form https://site.com/authorize/google " generates an address that is generated immediately for you, and redirects to it and nothing else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question