C
C
chelkaz2018-10-18 10:25:01
Laravel
chelkaz, 2018-10-18 10:25:01

Authorization through a token with another service. Do you have existing clients?

I have a client/server with Laravel installed. It is required to receive data via API from another server.
The fact is that all users (logins, passwords and other data) are also stored there.
As such, I do not have a database on the server. She is empty.
That server gives a token by login and password with a lifetime and then gives access to the API using it.
How to organize authorization for the application and for other users?
Where to store the token? If on my side the database is empty and all data is stored on that server and returned via API.
Maybe there is a ready client?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Shamsudin Serderov, 2018-10-18
@Steein

Laravel Passport - haven't tried it!

I
Ivan Shumov, 2018-10-18
@inoise

If you have some kind of custom API with non-standardized authentication, then just write it yourself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question