Skip to main content
GET
/
api
/
admin
/
ssoProvider
/
{id}
Get SSO provider by ID
curl --request GET \
  --url https://pria.praxislxp.com/api/admin/ssoProvider/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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

Path Parameters

id
string
required

Response

SSO provider details

success
boolean
data
object