Using Resource Owner Password Credential (ROPC) Grant Type

Use the instructions here to generate an OAuth token using Resource Owner Password Credential (ROPC).

Generating the OAuth Token

Use the endpoint, as shown below, to generate an OAuth access token to use for accessing the API. This endpoint can be invoked with Standard authentication of a valid Base64 encoded value of "user:password" on Oracle Cloud Infrastructure that has been provisioned into P6.

Scope must be the full path (always https) to the context root of the application - https://<server URL>/p6ws/.

Example Using curl

curl -X POST "https://<server URL>/p6ws/oauth/token" \
-H "authToken" : Base64 encoded value of "user:password"
-H "token_exp": "3600"\  

Response Payload

Raw <OAuth-Access-Token> token will be returned as part of Response payload.

Example Using a REST Client

POST https://<server URL>/p6ws/oauth/token

In Headers:

-H "authToken" : Base64 encoded value of "user:password"
-H "token_exp": "3600"

Response:

Raw <OAuth-Access-Token> token will be returned as part of Response payload.

Related Topics

Authentication and Session Management

Using Username Token Profile for Authentication

Using Oracle Web Services Manager for Authentication

Consuming P6 EPPM Web Services over HTTPS (SSL)

Using SAML Token Profile for Authentication

Using HTTP Cookies for Authentication (On-Premises Only)

Using JSON Web Token (JWT) Grant Type

Generating the OAuth Access Token

Using OAuth for Authentication and Authorization



Last Published Tuesday, October 14, 2025