PingOne DaVinci integrates with applications that use standards-compliant protocols. As such, it provides the framework for providing access to protected HTTP resources. The DaVinci authorization endpoint {{authPath}}/{{envID}}/policy/{{davinciFlowPolicyID}}/authorize interacts with the resource owner and obtains an authorization grant.

The following request samples show common authorize endpoints that are useful to DaVinci application integrations.

DaVinci Authorize data model properties

Property Type? Required? Mutable? Description
client_id UUID Required Immutable A string that specifies the application’s UUID.
grant_type String Required Mutable A string that specifies the grant type of the token request. Options are authorization_code, implicit, refresh_token, and client_credentials.
redirect_uri String Required Mutable A string that specifies the URL that specifies the return entry point of the application. This is a required property.
response_type String Required Mutable A string that specifies the code or token type returned by an authorization request. Options are token, id_token, and code.
scope String Optional Mutable A string that specifies permissions that determine the resources that the application can access. This parameter is not required, but it is needed to specify accessible resources.

Response codes

Code Message
200 Successful operation.
201 Successfully created.
204 Successfully removed. No content.
400 The request could not be completed.
401 You were not authenticated to perform this operation.
403 You do not have permissions or are not licensed to make this request.
404 The requested resource was not found.