Issues with Getting Authentication to OPC and Running an API call
I wanted to share some information on some issues I had getting a Bearer Token for OPC integrations and running my first call. When you run the call under OAuth Token Generator, Its asks for the URL that has the scope being an http url. This is going to be your Server URL that is the https server URL but you pass it through the scope as http. So if you are connecting to OPC this is what the URL should be: https://primavera.oraclecloud.com/primediscovery/apitoken/request?scope=http://primavera.oraclecloud.com/api
Once you pass the base64 bit encryption of your username and password you will get the authorization token and the Prime Tenant and Prime Identity App. You will need those values in your Header of your API including the Bearer token. So if you ran cURL and example would look like this: