Create API Protection OAuth definitions and clients
Create API Protection OAuth definitions and clients. Then, attach them to the /demo junction.
- In the local management interface, go to AAC > API Protection.
- Create a definition named MyOAuthDemo.
- Enable Resource Owner Username Password grant type. Leave the remaining settings as defaults.
- Click Save.
- Click Clients.
- Click the new client icon.
- Set the Client ID value as mytestclient.
- Set the API Definition value as MyOAuthDemo.
- Click OK.
- Deploy and commit the changes.
- Click Resources.
- Attach the MyOAuthDemo definition to the /demo resource.
- Publish, deploy, and commit the changes.
Parent topic: Example combining CBA, Authentication Service Framework, and OAuth