Validate an institution's stored Google token
curl --request GET \
--url https://pria.praxislxp.com/api/auth/google/institution/{institutionId}/validate \
--header 'Authorization: Bearer <token>'{
"valid": true,
"cleared": true,
"message": "No Google tokens configured",
"error": "<string>"
}OAuth
Validate an institution's stored Google token
Probes Google’s userinfo endpoint with the institution’s stored
cloudServices.google.googleLoginToken to check whether it is still accepted.
If Google rejects the token, the entire cloudServices.google subtree is
cleared ($unset) and the response reports valid: false, cleared: true.
The caller must hold institutions.edit on the target institution.
GET
/
api
/
auth
/
google
/
institution
/
{institutionId}
/
validate
Validate an institution's stored Google token
curl --request GET \
--url https://pria.praxislxp.com/api/auth/google/institution/{institutionId}/validate \
--header 'Authorization: Bearer <token>'{
"valid": true,
"cleared": true,
"message": "No Google tokens configured",
"error": "<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
JWT token passed in authorization header
Path Parameters
ObjectId of the institution whose token to validate.
Response
Validation completed. Inspect valid for the outcome.
Was this page helpful?
Start the Google OAuth flow for an institution-level tokenRevoke an institution's stored Google token
⌘I