Skip to main content
PUT
/
v2
/
orgs
/
{orgSlug}
/
auth
/
sso
/
{slug}
cURL
curl --request PUT \
  --url https://api.eda.prisme.ai/v2/orgs/{orgSlug}/auth/sso/{slug} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "slug": "<string>",
  "type": "oidc",
  "config": {
    "client_id": "<string>",
    "authorization_endpoint": "<string>",
    "token_endpoint": "<string>",
    "jwks_uri": "<string>",
    "client_secret": "<string>",
    "scopes": [
      "<string>"
    ],
    "state": true,
    "pkce": true
  },
  "id": "<string>",
  "name": "<string>",
  "icon": "<string>",
  "attributesMapping": {
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "<string>"
  },
  "source": "file",
  "enabled": true,
  "meta": {},
  "domains": [
    "<string>"
  ],
  "orgSlug": "<string>"
}
'
{
  "slug": "<string>",
  "type": "oidc",
  "config": {
    "client_id": "<string>",
    "authorization_endpoint": "<string>",
    "token_endpoint": "<string>",
    "jwks_uri": "<string>",
    "client_secret": "<string>",
    "scopes": [
      "<string>"
    ],
    "state": true,
    "pkce": true
  },
  "id": "<string>",
  "name": "<string>",
  "icon": "<string>",
  "attributesMapping": {
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "<string>"
  },
  "source": "file",
  "enabled": true,
  "meta": {},
  "domains": [
    "<string>"
  ],
  "orgSlug": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgSlug
string
required

Organization slug

slug
string
required

Provider slug

Body

application/json
slug
string
required

Unique provider identifier (e.g. "google", "okta-saml")

type
enum<string>
required

Authentication protocol type

Available options:
oidc,
saml
config
object
required

Provider-specific configuration (OIDC or SAML settings)

id
string
name
string

Display name for the provider (e.g. "Google", "Corporate SSO")

icon
string

Icon URL or identifier for the provider

attributesMapping
object

Maps provider claims to user fields (e.g. firstName, email)

source
enum<string>

Where this provider is configured (read-only, returned by GET)

Available options:
file,
database
enabled
boolean

Whether this provider is active (default true). Disabled providers are not registered as passport strategies.

meta
object

Free-form metadata JSON

domains
string[]

Associated domain names

orgSlug
string

Associated organization slug

Response

Success Response

slug
string
required

Unique provider identifier (e.g. "google", "okta-saml")

type
enum<string>
required

Authentication protocol type

Available options:
oidc,
saml
config
object
required

Provider-specific configuration (OIDC or SAML settings)

id
string
name
string

Display name for the provider (e.g. "Google", "Corporate SSO")

icon
string

Icon URL or identifier for the provider

attributesMapping
object

Maps provider claims to user fields (e.g. firstName, email)

source
enum<string>

Where this provider is configured (read-only, returned by GET)

Available options:
file,
database
enabled
boolean

Whether this provider is active (default true). Disabled providers are not registered as passport strategies.

meta
object

Free-form metadata JSON

domains
string[]

Associated domain names

orgSlug
string

Associated organization slug