Thanks to this page api_key_authentication I have an authentication system which works well.
So, basically every user has his own api_key
field (stored into the fos_user table), when I perform a request with any api_key
from fos_user I see in the response that the user is recognized.
The question is: What does an API user do to retrieve his api_key
?
You can generate api key and send it to the user (somehow) or make auth api where user send you his login and password and then you generate and send him his api key (this is the most known way).