0

I want to create an API REST in Symfony that allows mobile application can access. Normaly we have session/cookie in browser communicate between browser and symfony (php) to know user connecting.

But in mobile application (ios, android), we don't have session/cookie. How to authenticate users and identify user connecting in every request in Symfony ? Thank you

1 Answer 1

2

Maybe you can use an authentication key:

http://symfony.com/doc/current/cookbook/security/api_key_authentication.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.