Authenticating your RESTful API

Article 8 in the series of “ Pragmatic decisions for your RESTful API”, this post talks about authentication for your RESTful API.

Authenticating users: use OAuth 2 and/or JSON Web Tokens with the Authorization HTTP header

User authentication for a RESTful API could (and maybe will) be the subject of another series of articles, given how wide and complex it can be. To summarize it very briefly however, there are currently 2 technologies you can use for user authentication: