The major part of APIs require authentication. They often use Oauth1 or Oauth2 with often different implementations than the official specs, and according to programmable web directory we have more than 472 APIs using Oauth.
But too often authentication is a mess and Oauth is hard and long to implement, or custom authentication protocol are weird.
We had some long discussions in the Webshell team to find the easiest way for developers to authenticate APIs in their applications
You can now call Oauth1.0 APIs like Twitter or Oauth2.0 (even ones which F*** the standard specs) APIs like Google, Facebook, Foursquare, Github, Soundcloud, Deezer etc…
1) Setup your API Key
You have to setup your API Key in your application using the API Key Manager. We will store your API Key letting you manage them easily and allowing you to call APIs from client side without giving your API Key to the clients.
auth builtin (cf Builtins) allows you to be authenticated. All the APIs which requires authentication have an
auth() method calling the
//or the API you want
3) Event/Triggered authentication
success: You can execute a script once user is authenticated using
//authenticate to your API saved in your webshell file system