Test oauth code received

POST /api/external_login/redirect_test/{provider}

Path parameters

  • provider string Required

    Format should match the following pattern: .*.

Query parameters

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

application/json

Body Required

  • data object
    Hide data attributes Show data attributes object
    • code string
    • type string | null
    • client_id string | null

Responses

  • 200 application/json

    Test oauth code received

    Hide response attributes Show response attributes object
    • success boolean
    • message string
POST /api/external_login/redirect_test/{provider}
curl \
 --request POST 'https://replace-with-own-host.iw-erp.de/api/external_login/redirect_test/{provider}' \
 --header "x-session-token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"data":{"code":"string","type":"string","client_id":"string"}}'
Request examples
{
  "data": {
    "code": "string",
    "type": "string",
    "client_id": "string"
  }
}
Response examples (200)
{
  "success": true,
  "message": "string"
}