Prepare Base64-Encoded Credentials

REST Adapter connections that use OAuth authentication require a Base64-encoded username:password value to request an access token.

Read the sections below to find out which credentials need to be encoded, how to generate Base64-encoded credentials, and which connections need the encoded credentials.

Which Credentials Need To Be Encoded

For this project, you need to generate one encoding:

  1. Primavera Unifier: Encode your Primavera Unifier integration user username and password. This is used by the Unifier Rest API connection.

How To Generate Base64-Encoded Credentials

  1. Go to https://www.base64encode.org/.
  2. Enter the user name and password in the following format:

    username:password

  3. Click Encode.

Note:

Base64 is not encryption, it is only an encoding. For production credentials, avoid entering usernames/passwords into public online tools. If you must use an online encoder, use it only for non-production accounts. For production credentials, you should generate the value locally using your organization's approved method.

Where To Use the Encoded Credentials

Once you generate the encoded credentials, you can copy and paste them into the access token request of the appropriate connection:

  1. See Configure the Primavera Unifier Connection for details. In the access token request example of this connection, you will replace <Base64-encoded-username-and-password> with the encoded Primavera Unifier user name and password value.