Creating an OAuth user in SAP Commerce
Before using the Tridion Connector for SAP Commerce, you need to create an OAuth user within SAP Commerce.
About this task
These steps require information on your SAP Commerce implementation. Consult your SAP Commerce administrator to confirm the correct values.
The task describes the process in one version of the SAP Commerce system; however, the step details can vary from version to version and are subject to change without notice. Use these instructions as general guidance only for the things you need to configure.
Procedure
- Log in to your SAP Commerce Backoffice interface.
- Go to the area for configuring new OAuth Clients. For example:
- Type a client ID and password, and select Next.
- In the OAuth authorities section, add an authority. This is typically ROLE_TRUSTED_CLIENT.
- In the OAuth authorized grant types section, define the following types (and others if needed):
refresh_tokenpasswordclient_credentials
- Enter other details, as needed, and select Next.
- Enter one or more scopes to set limits on OAuth user access, such as basic, and select Next.
- Enter token validity times, the lifetime in seconds of the access tokens. If left empty, the default time is used.
- When all information has been entered, select Done to create the user.