Skip to Content
Docs
API referenceManagement API

OAuth providers

List OAuth providers

GET
/apps/{app_id}/auth-connections

List an app's configured OAuth providers merged with the catalog. The pagination block counts connected (stored) providers only; data additionally includes unconnected catalog entries, so the number of items may exceed limit.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Query Parameters

status?string

Filter: connected (stored configs only), available (unconnected catalog types only), or all (default)

Value in"connected""available""all"
sort?string

Sort field; prefix with - for descending (e.g. -created_at). Allowed: created_at, updated_at, name, provider. Default: -created_at

page?integer

Page number

limit?integer

Items per page

Response Body

OK

application/json
  1. response
data?array<>
object?string
pagination?

Pagination is the page answered (api-route-review D9).

Example Request
curl -X GET 'https://api.us.pontive.com/v1/apps/string/auth-connections'
Example Response
{  "data": [    {      "app_id": "string",      "connect_scopes": [        "string"      ],      "connected": true,      "created_at": "string",      "credential_source": "own",      "deprecated": true,      "multi_instance": true,      "name": "string",      "object": "string",      "pontive_credentials_available": true,      "provider": "string",      "provider_type": "google",      "required_scopes": [        "string"      ],      "scope_descriptions": {        "property1": "string",        "property2": "string"      },      "shared_credential_id": "string",      "signin_scopes": [        "string"      ],      "update_user_profile": true,      "updated_at": "string",      "use_for_signin": true    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}

Get OAuth provider

GET
/apps/{app_id}/auth-connections/{connection_slug}

Get an app's provider by slug. Returns the resolved view; an unconnected catalog provider is returned with connected=false and no config.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

connection_slug*string

Provider slug

Response Body

OK

application/json
  1. response
app_id?string
callback_urls?array<string>

CallbackURLs are the redirect_uris this provider's login flow uses — one per auth-server domain the project serves. Register every one in the provider's own console or logins on an unregistered domain fail with redirect_uri_mismatch. They are an auth-server property, identical for every provider and set even before one is connected.

config?||||||
connect_scopes?array<string>

ConnectScopes are requested in this app's connect (connected-accounts) flow.

connected?boolean
created_at?string
credential_source?string

CredentialSource selects where the client credentials come from: 'own' (in config), 'shared' (shared_credential_id), or 'pontive' (Pontive Credentials).

Value in"own""shared""pontive"
deprecated?boolean
multi_instance?boolean
name?string
object?string
pontive_credentials_available?boolean
provider?string
provider_type?string
Value in"google""github""microsoft""linkedin""apple""oidc""entra"
required_scopes?array<string>
scope_descriptions?
shared_credential_id?string
signin_scopes?array<string>

SigninScopes are the identity scopes requested at sign-in, on top of the provider type's catalog-required scopes.

update_user_profile?boolean
updated_at?string
use_for_signin?boolean

UseForSignin reports whether this connection may serve as a sign-in method.

Example Request
curl -X GET 'https://api.us.pontive.com/v1/apps/string/auth-connections/string'
Example Response
{  "app_id": "string",  "callback_urls": [    "string"  ],  "config": {    "client_id": "string",    "client_secret_set": true  },  "connect_scopes": [    "string"  ],  "connected": true,  "created_at": "string",  "credential_source": "own",  "deprecated": true,  "multi_instance": true,  "name": "string",  "object": "string",  "pontive_credentials_available": true,  "provider": "string",  "provider_type": "google",  "required_scopes": [    "string"  ],  "scope_descriptions": {    "property1": "string",    "property2": "string"  },  "shared_credential_id": "string",  "signin_scopes": [    "string"  ],  "update_user_profile": true,  "updated_at": "string",  "use_for_signin": true}

Delete OAuth connection

DELETE
/apps/{app_id}/auth-connections/{connection_slug}

Delete an app's OAuth connection by provider slug. This also drops all stored user OAuth credentials for that provider on this app; users must re-connect if it is recreated.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

connection_slug*string

Provider slug

Response Body

No Content

Example Request
curl -X DELETE 'https://api.us.pontive.com/v1/apps/string/auth-connections/string'
Example Response
Empty

Upsert OAuth connection

PUT
/apps/{app_id}/auth-connections/{connection_slug}

Create or update an app's OAuth connection for the provider slug (unique per app). If no connection exists yet it is created (201); otherwise it is updated (200). Omitted fields are left unchanged on update, and an omitted secret leaves the stored secret intact. Secrets are accepted here but never returned; responses expose only *_set booleans.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

connection_slug*string

Provider slug

Request Body

OAuth connection payload

application/json
  1. body

OAuth connection payload

config?||||||
connect_scopes?array<string>

ConnectScopes are requested in this app's connect (connected-accounts) flow.

credential_source?string

CredentialSource selects where the client credentials come from: 'own' (in config, the default), 'shared' (shared_credential_id), or 'pontive' (Pontive Credentials). Config is required only for 'own'.

Value in"own""shared""pontive"
name?string
provider_type*string
Value in"google""github""microsoft""linkedin""apple""oidc""entra"
shared_credential_id?string
signin_scopes?array<string>

SigninScopes are the identity scopes requested at sign-in, on top of the provider type's catalog-required scopes.

update_user_profile?boolean
use_for_signin?boolean

UseForSignin allows this connection to serve as a sign-in method.

Response Body

OK

application/json
  1. response
app_id?string
config?||||||
connect_scopes?array<string>

ConnectScopes are requested in this app's connect (connected-accounts) flow.

created_at?string
credential_source?string

CredentialSource selects where the client credentials come from: 'own' (in config), 'shared' (shared_credential_id), or 'pontive' (Pontive Credentials).

Value in"own""shared""pontive"
instance_id?string
name?string
object?string
provider?string
provider_type?string
Value in"google""github""microsoft""linkedin""apple""oidc""entra"
shared_credential_id?string
signin_scopes?array<string>

SigninScopes are the identity scopes requested at sign-in, on top of the provider type's catalog-required scopes.

update_user_profile?boolean
updated_at?string
use_for_signin?boolean

UseForSignin reports whether this connection may serve as a sign-in method.

Example Request
curl -X PUT 'https://api.us.pontive.com/v1/apps/string/auth-connections/string' \  -H 'Content-Type: application/json' \  -d '{  "provider_type": "google"}'
Example Response
{  "app_id": "string",  "config": {    "client_id": "string",    "client_secret_set": true  },  "connect_scopes": [    "string"  ],  "created_at": "string",  "credential_source": "own",  "instance_id": "string",  "name": "string",  "object": "string",  "provider": "string",  "provider_type": "google",  "shared_credential_id": "string",  "signin_scopes": [    "string"  ],  "update_user_profile": true,  "updated_at": "string",  "use_for_signin": true}

List provider catalog

GET
/authn/connection-types

List the platform's supported OAuth provider types and their metadata (scopes, Pontive Credentials availability, deprecation), independent of any app. Carries no credentials. The list is unpaginated.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Query Parameters

page?integer

Page number

limit?integer

Items per page, 1 to 100

Response Body

OK

application/json
  1. response
data?array<>
object?string
pagination?

Pagination is the page answered (api-route-review D9).

Example Request
curl -X GET 'https://api.us.pontive.com/v1/authn/connection-types'
Example Response
{  "data": [    {      "deprecated": true,      "multi_instance": true,      "object": "string",      "pontive_credentials_available": true,      "provider_type": "google",      "required_scopes": [        "string"      ],      "scope_descriptions": {        "property1": "string",        "property2": "string"      }    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}