Generating OAuth Tokens
You can generate an OAuth token for Primavera Administration REST API using one of the following grant types:
- Resource Owner Password Credentials (ROPC): ROPC uses the resource owner's password credentials (user name and password) as an authorization grant to obtain an OAuth access token. This grant type is suitable for users who authenticate against IDCS directly.
- JSON Web Token (JWT) User Assertion: A JWT user assertion token contains identity information about a user and can be used as an authorization grant to obtain an OAuth access token. This grant type is suitable for users who authenticate against IDCS or a SAML Identity Provider, if configured in the environment.
More detail about these grant types can be found in the Oracle Cloud Platform REST Adapter documentation at 2 REST Adapter Concepts, Authentication Support, About OAuth 2.0 Grants.
After an OAuth token is generated, it can be passed to Primavera Administration REST API. See Using OAuth for Authentication and Authorization
Background Information about OAuth
See this Wikipedia article for background information about OAuth: