T
T
this__all2019-12-17 18:38:03
Laravel
this__all, 2019-12-17 18:38:03

How does the authentication system work properly in the Laravel API?

I have a question, I read that there is such a thing as oauth. Where, during authorization, a token is issued to the user, which is transmitted in the headers when accessing the API, so the question itself is, when a token is given on the server, is it necessary to start a session or is it just enough to give a token and then check its availability when accessing the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vism, 2019-12-17
@vism

everything is far from simple.
study laravel passport thoroughly.
Do you really expect that they will describe to you on your fingers what is described on dozens of documents?
Answering your question. Enough token without session. helped? :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question