Answer the question
In order to leave comments, you need to log in
How to implement the project correctly?
There is a project in which it will be necessary to use authorization through many social networks. Frontend on vue, backend - API on laravel.
I didn’t work with vue before, I don’t quite understand how to correctly implement authorization in api through a login-password, as well as through social networks. networks.
Answer the question
In order to leave comments, you need to log in
Usually the standard algorithm is as follows: On the front, you can catch the form submission, send it to the backend via Ajax, validate the data on the back, work with the user session, return the response to the front.
PS Catching - in the sense that return false before sending, if you do not want to reload the page
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question