Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

End-to-End OAuth for APIs in Less than 5 Minutes!

DZone's Guide to

End-to-End OAuth for APIs in Less than 5 Minutes!

· Integration Zone
Free Resource

Learn how API management supports better integration in Achieving Enterprise Agility with Microservices and API Management, brought to you in partnership with 3scale

How quickly can you enable OAuth on an API and allow for client applications to be rapidly built for them? With the new OAuth 2.0 policy that is now available with the Anypoint Platform for APIs, the answer is no more than five minutes! Have a look for yourself with the following viewlet:

  • Designing an API that is OAuth 2.0 protected by specifying an OAuth 2.0 security scheme in its RAML specification and implementing it with Anypoint Studio.
  • Enabling an OAuth 2.0 provider that can use any LDAP server and ensuring that the API requires valid OAuth tokens through the simple application of policies – on-the fly – using Anypoint API Manager.
  • Testing and interacting with the API’s now OAuth protected resources through its RAML console with client ID and client secrets that can be obtained through the Anypoint API Portal’s application registration feature.

oauth 2.0 with Anypoint Platform for APIs
Note that the OAuth 2.0 policy supports all of the OAuth 2.0 grant types, allows for the use of refresh tokens, and also supports OAuth scopes. The feature is currently in beta mode as it only works with the Mule 3.5 early access release. You can also download the sample application used in the viewlet right here  and try out the steps by yourself.

Go on, give it a spin, and see how easy it is to make OAuth possible with the Anypoint Platform for APIs.

Unleash the power of your APIs with future-proof API management - Create your account and start your free trial today, brought to you in partnership with 3scale.

Topics:

Published at DZone with permission of Reza Shafii, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}