Configuring a service package for OAuth 2.0 ROPC authentication for mobile apps
When you configure user authentication with OAuth 2.0 tokens, using the Resource Owner
Password Credentials (ROPC) authentication flow, you must configure the
offlinehttp
service package so that it supports the custom authentication
service that you created to enable authentication.
- In the Dev Studio search field, enter offlinehttp.
- In the list of results, click the offlinehttp service package.
- On the Context tab, set the value in the Processing mode field to Stateful and select Requires authentication.
- Set the value of the Authentication type field to Custom.
- 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.
- Select Use service session cookie and Authenticate every request.
- Click Save.