K
K
Karim Karimov2015-06-08 03:07:21
PHP
Karim Karimov, 2015-06-08 03:07:21

How to make authentication on REST service?

As I understand it, the REST service should not store the state of the client.
I do not understand how then to implement authentication?
Right now I'm doing it with FOSOauthBundle,
but I think it's overkill for a simple web service.
How do you implement authentication in your projects?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Belikov, 2015-06-08
@Snard

If it’s very simple, then you give the client a token and then he uses it when he calls, and on your side you identify him by it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question