Privicore
  1. OAuth Application
Privicore
  • Privicore API
  • Utility
    • Utility
    • Check server health
      GET
    • Request command id status
      GET
  • Profile
    • Profile Model and Authentication Workflow
    • Register new profile
      POST
    • Authenticate
      POST
    • Retrieve profile id
      GET
    • Change password
      POST
    • Generate qr token for authorization
      POST
    • Reauthorize authorization token
      POST
    • Revoke authorization token
      POST
    • Retrieve token expiry
      POST
  • OAuth Application
    • OAuth Application Management
    • Register OAuth Application
      POST
    • Retrieve OAuth app configuration
      POST
    • Request OAuth app authorization code
      GET
    • Retrieve OAuth app authorization code
      POST
    • Obtain OAuth app access token
      POST
    • OAuth application list
      GET
    • Retrieve OAuth application scope
      GET
    • Refresh OAuth app access token
      POST
  • Public key
    • Generate your private and public keys
      GET
    • Register public key
      POST
    • Retrieve public key
      GET
    • Retrieve CAB public key
      GET
  • Data Token
    • Reserve token space
    • Retrieve temporary data token
    • Exchange data for token
    • Upstream file via stream auth
    • Request data via token
    • Download data
    • Configure information security risk meta
    • Configure file meta
    • List data tokens
    • Update data token
    • Delete data
    • Get data token transaction count statistics.
  • Device
    • Request unique identifier (i.e. Register new device)
    • Retrieve unique identifier
    • Retrieve profile devices
    • Configure device meta
    • Approve device
    • Reject device
    • Retrieve device configuration
    • Remove device
  • Storage
    • Register storage device
    • List storage devices
    • Synchronize device
    • Remove storage
  • Verified authenticator
    • Register authenticator
    • List verified authenticators
    • Retrieve voting strategy
    • Set quorum size
    • Set quorum strategy
    • Set voting time limit
    • Set maximum voting attempts
    • Remove authenticator
    • Register voting configuration
    • Update voting configuration
    • List voting configurations
    • Retrieve voting configuration
  • Policy
    • List policy templates
    • Register policy
    • List active policies
    • List inactive policies
    • Activate policy
    • Deactivate policy
    • Delete policy
    • List registered policies
    • Retrieve registered policy
  • Directory
    • Register Directory
    • Retrieve owned Directories
    • Retrieve assigned directories
    • Retrieve Directory
    • Create Directory User
    • Update user information
    • Invite Profile
    • Set profile password
    • List Directory Invites
    • Process Invitation
    • Retrieve directory profile
    • List directory users
    • Directory profiles info
    • Create profile device
    • Add storage device to profile
    • List directory devices
    • Create directory voting pool
    • Store directory meta information
  • Voting
    • Create voting
    • Check pool status
  1. OAuth Application

Retrieve OAuth app configuration

POST
/profile/retrieve-oauth-application-configuration

Retrieve OAuth Application Configuration#

Overview#

Retrieve the complete configuration details of a registered OAuth Application, including credentials and settings.

Retrieve OAuth Application Configuration#

Endpoint: POST /profile/retrieve-oauth-application-configuration
Authentication: Required (Authorization token obtained from the step)

Response Fields#

The response contains the following OAuth Application configuration:
FieldDescription
idUnique identifier for the OAuth Application
titleDisplay name of the OAuth Application
redirectUriCallback URL where authorization codes are sent
profileIdProfile ID that owns this OAuth Application
clientIdPublic identifier used in OAuth flows
clientSecretConfidential credential for token exchange

Use Case#

Use this endpoint to retrieve OAuth Application credentials and configuration after registration. The clientId and clientSecret are essential for the OAuth authorization flow, while the redirectUri defines where authorization responses will be sent. Keep the clientSecret secure as it acts as the application's password.
Store the clientSecret securely and never expose it in client-side code
The redirectUri must match exactly during authorization requests

Request

Authorization
API Key
Add parameter in header
X-DPT-AUTHORIZATION
Example:
X-DPT-AUTHORIZATION: ********************
or
Header Params

Body Params application/x-www-form-urlencoded

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox.privicore.com:9009/profile/retrieve-oauth-application-configuration' \
--header 'X-DPT-AUTHORIZATION: <api-key>' \
--data-urlencode 'id='

Responses

🟢200Success
application/json
OK
Body

Example
{
    "id": "example_oauth_application_id",
    "title": "example_oauth_application_title",
    "redirectUri": "example_oauth_application_redirect_uri",
    "profileId": "example_oauth_application_profile_id",
    "clientId": "example_oauth_application_client_id",
    "clientSecret": "example_oauth_application_client_secret"
}
🟠401401
🟠403403
🟠404404
🟠422422
Modified at 2025-12-02 17:27:44
Previous
Register OAuth Application
Next
Request OAuth app authorization code
Built with