Skip to main content
POST
/
api
/
admin
/
ssoProvider
Create SSO provider
curl --request POST \
  --url https://pria.praxislxp.com/api/admin/ssoProvider \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "institution": "<string>",
  "slug": "<string>",
  "clientId": "<string>",
  "clientSecret": "<string>",
  "tokenHost": "<string>",
  "userinfoUrl": "<string>",
  "label": "<string>",
  "enabled": true,
  "tokenPath": "<string>",
  "authorizePath": "<string>",
  "scope": "<string>",
  "fieldMapping": {
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>"
  }
}
'
{
  "success": true,
  "id": "<string>",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt

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

Authorizations

Authorization
string
header
required

JWT token passed in authorization header

Body

application/json
institution
string
required

Institution ID (immutable after creation)

slug
string
required

URL slug (lowercase letters, numbers, hyphens only)

Pattern: ^[a-z0-9-]+$
clientId
string
required
clientSecret
string
required
tokenHost
string
required
userinfoUrl
string
required
label
string
enabled
boolean
tokenPath
string
authorizePath
string
scope
string
fieldMapping
object

Response

SSO provider created

success
boolean
id
string
message
string