Test a provider's dynamic token auth
Runs the token fetch once, backend-side, and reports the token lifetime. The token itself is never returned. Send provider_id to test the stored config, auth_config to test submitted values, or both to resolve secret sentinels against the stored config.
Request
This endpoint expects an object.
provider_id
Test the stored auth config of this provider; also the sentinel-resolution target when auth_config is sent
auth_config
Dynamic token auth recipe. Send the ‘SECRET’ sentinel as a credential value to keep the stored secret; send an empty object to clear the auth config.
Response
Token fetched
name
current
previous
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error