Appearance
Query CAS config
About 133 wordsLess than 1 minute
apiExtension PluginsAuthenticationCAS
2026-09-01
Returns the CAS single sign-on settings shown under CAS settings in the console.
| Method and path | POST /plugin/datafor-cas/api/query |
| Permission | Administrator user type; the CAS plugin must be installed |
| Content type | application/json |
Example
curl -u admin:password -X POST \
"http://localhost:28080/datafor/plugin/datafor-cas/api/query" \
-H "Content-Type: application/json" -d '{}'{
"success": true,
"code": "200",
"data": {
"enable": "1",
"type": "jasig",
"center_url": "https://cas.example.com/cas",
"login_url": "https://cas.example.com/cas/login",
"logout_url": "https://cas.example.com/cas/logout",
"inituser": "1",
"initroles": ["SYS_Reader"],
"ignoreList": ["/plugin/datafor-modeler/api", "/Login"],
"includeList": []
}
}The fields are described on Save CAS config. GET /plugin/datafor-cas/api/type/list returns the supported CAS server types.
Related: CAS Authentication