Skip to main content

Developing with XCC

OAuth 2.0

[v11.2.0 and up]

XCC supports connecting to XDBC App Servers through OAuth.

To use OAuth, you must configure your XDBC app server to use the OAuth authentication protocol.

With OAuth authentication set up, you must pass these parameters through the ContentSourceFactory methods:

  • The OAuth JWT access token that you have acquired from a supported vendor.

  • The authentication type string OAUTH.

Note

  • You are responsible for passing a valid JWT access token which will not expire or become invalid in the middle of a request to prevent MarkLogic Server from returning an error.

  • XCC is not responsible for maintaining, validating, or renewing the JWT access token.