Authentication Based REST API with Slim
I'm not sure how to go with authentication method I have a way but don't know if it is secure or not. let me explain what I'm doing with REST API. I have a multiple users based web app, where users can login with their user name and password and do the stuff. I need to develop a mobile app for that web app. I'm thinking REST with Slim Framework, However I have no problem with Slim REST development but the authentication part is what I am not sure how to develop. However I have some idea Use session cookies :- When user login via mobile app call REST API authentication method, make database