Skip to main content
POST
/
api
/
admin
/
ssoProviders
List SSO providers
curl --request POST \
  --url https://pria.praxislxp.com/api/admin/ssoProviders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "institution": "<string>"
}
'
{
  "success": true,
  "data": [
    {
      "_id": "<string>",
      "institution": "<string>",
      "slug": "my-university",
      "label": "<string>",
      "enabled": true,
      "clientId": "<string>",
      "clientSecret": "<string>",
      "tokenHost": "https://id.provider.com:443",
      "tokenPath": "/oauth2/token",
      "authorizePath": "/oauth2/authorize",
      "userinfoUrl": "https://id.provider.com:443/oauth2/userinfo",
      "scope": "openid",
      "fieldMapping": {
        "email": "email",
        "firstName": "given_name",
        "lastName": "family_name"
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token passed in authorization header

Body

application/json
institution
string

Filter by institution ID

Response

List of SSO providers

success
boolean
data
object[]