Answer the question
In order to leave comments, you need to log in
How to login to a site via social networks on Vue + Laravel using vue-auth, jwt?
I made an entrance and registration on the site using the jwt and vue-auth packages, everything works.
Now the task is to make an entrance through social networks - vk, facebook, etc.
I can not find information on how to implement this using these packages, and how it is implemented in general.
What steps do I need to take on vue and what steps on laravel to implement it?
Or where can I read about it?
Answer the question
In order to leave comments, you need to log in
Take a ready-made solution from Lara for backing: https://laravel.com/docs/5.8/socialite
And the vue front was drunk as you like...
Forget about ready-made solutions, otherwise you will be scribbling questions on the toaster.
Regarding authorization: Google oAuth2.
For the first time, you will study the documentation for a long time and delve into the process itself, but then a simple authorization will be ready in a couple of evenings.
upd : start doing the first authorization with VK, their API is clearer and it will be easier, because you will spend less time studying the social network API. Leave authorization through FB for later, when you figure out the main logic. FB API is more complicated
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question