Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question