Configuring the Oauth2 authentication
The Oauth2 authentication is only used by Akuiteo for the APIs. This authentication is used to identify the different clients (that is to say the third-party applications) that want to access a resource.
The information to configure Oauth2 is defined in the Administration console, from the Security > Oauth2 menu.
1 | From the Authorized clients screen, click on the New client button at the top right of the screen. |
2 | In the configuration window, fill in the following fields: |
Field | Description |
---|---|
Client ID | Enter the client ID for the OAUTH authentication. |
Duration (s) | Fill in the validity duration of the access token, in seconds. |
Refresh duration (s) |
The refresh token is used to request a new access token without having to enter the login information again. Fill in the validity duration of this refresh token, in seconds, that is to say the time during which the refresh token can be used to request a new access token. |
Scope | Fill in read_write. Since authorizations are based on DMFs, you can give access to the read_write scope to read, modify and delete resources. |
3 | Click on Create. |
The client is added to the Administration console. Akuiteo provides a Client Secret associated with this new client, to be used when making calls to APIs.
To modify a client, click on for the relevant line, make all necessary modifications then click on Update.
To delete a client, click on for the relevant line then confirm the deletion.
Reference
For more information about Akuiteo's APIs, refer to the API Documentation.