Our API editor and Code Generation engine now supports OAuth 2.0 for authentication in the generated SDKs.
OAuth 2 enabled SDKs will help developers in:
- Obtaining consent from user
- Acquiring access token
- Refreshing tokens when they expire
- Making authorized API calls
You can read more about OAuth 2.0 in APIMatic editor and Code Generation engine here.
Supported Grant Types
All OAuth 2.0 grant types are supported:
- Authorization Code Grant
- Resource Owner Password Grant
- Client Credentials Grant
- Implicit Grant
note
Implicit Grant flow is only implemented for AngularJS because it is meant to be used in user agent based applications.