M
M
Mykola Ivashchuk2018-02-09 19:10:53
Laravel
Mykola Ivashchuk, 2018-02-09 19:10:53

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

1 answer(s)
O
orte0, 2018-02-09
@orte0

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 question

Ask a Question

731 491 924 answers to any question