In this tutorial we will explore how Authentication on Chino.io works. We will see the two standard procedures that can be used to validate your calls to Chino.io and when it is better to use them.
We have two acces methods: Customer Access and OAuth2:
When you use Customer Access, you have full acccess to your data stored on Chino.io.
You authenticate with your
customer_key that grant you admin power and no access restrictions.
This access method is meant to be used only on server-side applications.
With the OAuth2 you can perform logins as a specific User, thus with some limitations.
The login requires the username/password along with some information about the client and, if successful,
it will return you a
bearer token and a
(Learn more about OAuth protocol 2.0 here .)
When choosing an authentication method for your application, you should ask yourself if you need to do anything of the following with Chino.io API:
Restrict access to resources stored on Chino.io,
Keep track of who sends API calls to Chino.io,
Distribute your application directly to end users (instead of hosting it on your server),
Verify whether your users are logged in or not.
If your answer is yes to any of the above, then you probably should use the OAuth2 authentication method.
Learn more about the Chino.io API and how to use it in your application.
Looking for more help?