Enable OAuth with inbound REST

  • Release version: Australia
  • Updated May 11, 2026
  • 1 minute to read
  • Using OAuth, you can pass a user ID and password once, and then use a token for subsequent REST requests instead of submitting credentials with each request.

    Before you begin

    The OAuth 2.0 plugin (com.snc.platform.security.oauth.is.active) must be active. For activation instructions, see Activate a plugin.

    Role required: admin

    About this task

    OAuth reduces the number of times you submit user credentials. After authenticating once, you use a token for subsequent REST requests.

    Procedure

    1. Set the com.snc.platform.security.oauth.is.active system property to true.
    2. Navigate to System OAuth > Application Registry.
    3. Select New, then select Create an OAuth API endpoint for external clients.
    4. Record the client_id and client_secret values to use when requesting an access token.
      Note:
      This example uses the password grant type. You can also configure an OAuth API endpoint using other grant types. For more information, see OAuth Inbound.
    5. Use a REST client, such as cURL or Postman, to send a POST request to the OAuth endpoint (oauth_token.do).
      Format the request as a URL-encoded HTTP POST body and include the required parameters.
    6. Record the access token and refresh token from the response.
    7. Submit the access token with subsequent REST requests.