Skip to content

Test a report provider uri

gerome12 edited this page Jun 13, 2019 · 2 revisions

Used to test the report provider configuration uri.

URL : /reportproviders/metadata

Method : POST

Auth Required : Authorization with a JWT Bearer token with the user as the sub claim.

Headers

  • Content-Type : Must be : application/x-www-form-urlencoded

Parameters

  • url={url}

Success Response

  • Status : 200 OK

If the url is not valid

{
    "valid": false
}

If the url is valid

{
    "valid": true,
    "jwks_uri": "https://reportprovider.kheops.online/certs",
    "token_endpoint_auth_method": "kheops_private_key_jwt",
    "token_endpoint_auth_signing_alg": "RS256",
    "redirect_uri": "https://reportprovider.kheops.online/report.html",
    "client_name": "Kheops Report Provider",
    "client_uri": "https://kheops.online",
    "contacts": [
        "contact@kheops.online"
    ]
}

Error Response

If the url is not set

  • Status : 400 Bad Request
Clone this wiki locally