Your Web Service API may require OAuth 2.0 authentication to allow other services, such as client applications, to be granted access rights to resources on your service over HTTP/S.
In general, a Service API call using OAuth 2.0 includes two steps executed sequentially:
- Getting an API access token.
- Requesting custom data from the service using the access token awarded to the application. The step can be duplicated with other data requests if necessary.
In this article, we will discuss how to configure a multi-task monitoring device using HTTP/S Tasks to monitor OAuth-based Web APIs for availability and performance.
-
Configuring Get Token Task
-
Configuring Resource Request Task
See more examples of monitoring setup in the case of OAuth with the Сlient Сredentials Grant in the Monitoring OAuth Bearer Token-based APIs article of our Knowledge Base.