Configuring a service package for OAuth 2.0 authentication

When you configure user authentication with OAuth 2.0 tokens, you must configure the offlinehttp service package so that it supports the custom authentication service that you created to enable authentication.

  1. In the Designer Studio search field, enter offlinehttp.
  2. In the list of results, click the offlinehttp service package.
  3. On the Context tab, set the value in the Processing mode field to Stateful and select Requires authentication.
  4. Set the value of the Authentication type field to Custom.
  5. In the Authentication service field, enter the name of the custom authentication service that you created to support user authentication with OAuth 2.0 tokens, for example WebLDAP_OAuth2.
  6. Select Use service session cookie and Authenticate every request.
  7. Click Save.