Prepare Base64-Encoded Credentials
REST Adapter connections that use OAuth authentication require a Base64-encoded username:password value to request an access token.
Which Credentials Need To Be Encoded
For this project, you need to generate a Base64 encoding of the username and password of the Primavera Unifier integration user that will be used by the REST Adapter connection.
Where Will the Encoded Credentials Be Used
You will use the encoded username and password value in the access token request of the delivered Primavera Unifier Rest Connection, as documented in these sections:
This recipe only delivers one REST Adapter connection, but it gets configured differently for multi-tenant configurations. Each section above contains an example access token request. In the example, you will replace the variable <Base64-encoded-username-and-password> with the encoded username and password value.
How To Generate Base64-Encoded Credentials
- Go to https://www.base64encode.org/.
-
Enter the user name and password in the following format:
username:password
- 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.