API7 Docs

Log in using the OIDC provider

GET /api/oidc/{login_option_id}/callback

GET /api/oidc/{login_option_id}/callback

Interactive request editor loads with JavaScript.

Authorization

X-API-KEY<token>

In: header

Path Parameters

login_option_id*string

Login option ID.

Query Parameters

state*string

The field of the OIDC protocol.

code*string

The field of the OIDC protocol.

Response Body

curl -X GET "$API_BASE_URL/api/oidc/string/callback?state=string&code=string"

Redirect to the home page.

Complete operation details and schema variants

GET /api/oidc/{login_option_id}/callback

Log in using the OIDC provider

Process OIDC callback parameters and complete authentication for the selected login option.

Parameters

  • login_option_id (path, string, required): Login option ID.
  • state (query, string, required): The field of the OIDC protocol.
  • code (query, string, required): The field of the OIDC protocol.

Responses

  • 303: Redirect to the home page.
  • 400: Invalid arguments. Error details will be provided in the response.

cURL

curl -X GET '$API_BASE_URL/api/oidc/{login_option_id}/callback'