API7 Docs

Log in using the CAS provider

GET /api/cas/{login_option_id}/login

GET /api/cas/{login_option_id}/login

Interactive request editor loads with JavaScript.

Authorization

X-API-KEY<token>

In: header

Path Parameters

login_option_id*string

Login option ID.

Query Parameters

ticket?string

The field of the CAS protocol.

Response Body

curl -X GET "$API_BASE_URL/api/cas/string/login"

Redirect to IdP.

Complete operation details and schema variants

GET /api/cas/{login_option_id}/login

Log in using the CAS provider

Start or complete CAS login for the selected login option, including CAS ticket processing.

Parameters

  • login_option_id (path, string, required): Login option ID.
  • ticket (query, string, optional): The field of the CAS protocol.

Responses

  • 302: Redirect to IdP.
  • 400: Invalid arguments. Error details will be provided in the response.

cURL

curl -X GET '$API_BASE_URL/api/cas/{login_option_id}/login'