I am working on a REST API that will be used by developers writing mobile applications. Users will be able to use third-party services (Google, Twitter, etc.) for authentication, mainly OAuth (depending on the service in question). We use two-way OAuth between the client application and the API server (where the user key / secret is the application, the developer receives it from our site when the application is registered there).
My problem is how to handle to track stateless user authentication. I do not have user credentials to send in every request. I can create a unique session_id when the user logs in, and then requires a REST API in each request. Are there any other solutions for my problem? Does the session_id unique identifier use the user to identify the cause of any AREST issue without considering the REST state?
rest api stateless
Andreas
source share