This documentation applies to older versions of WSO2 ESB connectors. To find the documentation relevant to the version you are using, select the connector from the WSO2 Connector Store and click Documentation.

All docs This doc

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



We have removed the basic authentication in the latest versions of the EWS connector. WSO2 EWS connector version 1.0.0 supports the basic authentication and OAuth 2.0 is supported by the versions 1.0.1 and above.

There are 3 approaches to configure the authentication via the init template in the OAuth 2.0 supported versions.

  1. We can use a valid access token. If we go with this, client credentials (clientId & clientSecret) are optional.
  2. If the refresh token is provided, token will be refreshed. Here, clientId & clientSecret are mandatory for this.
  3. If both access token and refresh token are not provided, client_credentials flow will be used to generate the access token. clientId & clientSecret are mandatory for this flow.