OAuth Mediator
The OAuth Mediator supports 2-legged OAuth. This by passes the RESTFull requests and authenticate users against WSO2 Identity Server.
Syntax
<oauthService remoteServiceUrl="" />
UI Configuration
Figure 1: OAuth Mediator Options
You have the following configurations under the OAuth Mediator.
- OAuth Server: Server url of the WSO2 Identity Server[e.g.:https://localhost:9443/services]
Example
<oauthService xmlns="http://ws.apache.org/ns/synapse" remoteServiceUrl="https://localhost:9443/service" />