I'm developing a BaaS solution that provides developers some REST APIs for their applications. In addition of SSL, I want to secure the REST API authenticating both application (token?) and client (user and password).
I was thinking on Basic Authentication for clients and a token for application authentication, however I can't think on how a simple UUID token, given to the application developer on registration phase, can secure the REST API and authenticate the application.
Also I read about OAuth, however I think it doesn't fit as a solution to the authentication mechanism.
How can I achive this in the right way?
Thanks!