RECIPE 15 – How to secure your APIs

Securing an API with OAuth2

 

OAuth 2.0 is a method to allow an application to have controlled access to a protected resource via a 3rd-party web service. The responsibility of an OAuth2 web service provider is to control access to protected APIs.

 

<<Back to resources

The objective of this recipe is to secure a RAML-based API using any OAuth2 provider. However, in this recipe Google OAuth 2.0 security is being used.

API runtime management