Skip to main content

Authorization code flow

Authorization code flow requires ClientID, ClientSecret and DigiCert ONE signer credentials. In this flow, the access token is taken by signing in to DigiCert ONE with your username and password. The sign in process is performed in the Postman browser window. DigiCert​​®​​ provides you with a datasheet with ClientID and ClientSecret values.

Nota

The access token is valid for one hour but can be extended by DigiCert​​®​​ up to 24 hours.

Authenticate with Authorization code flow

To authenticate with Authorization code flow:

Enter your DigiCert ONE username and password to sign in.

In the Postman window, select Environments (left menu) > PDF Service 2.0 Environment.

  1. In the Postman window, select Environments (left menu) > PDF Service 2.0 Environment.

  2. Store variable values from datasheet.

    Enter the values from the Access section in the datasheet into the corresponding Current Value column as shown below:

    Variable

    Current Value

    client_id

    Client ID

    client_secret

    ClientSecret

  3. Select the Save icon (top right).

Nota

The access token is valid for one hour but can be extended by DigiCert​​®​​ up to 24 hours.

  1. In the Postman window, select Collections (left menu) > PDF Service 2.0 > DTM CSC Credential List.

  2. In the right window, switch to the Authorization tab.

  3. Select Get New Access Token.

  4. In the new popup window, select Proceed.

  5. To apply access token, select Use Token.