Configuration
You must create an endpoint that is secured and authenticated by your IdentityServer that uses the scope you have selected in the webhook configuration page for authorization.
Once you have your endpoint configured, you can enable the webhook and set the config setting with the AdminUI API config with Url for your endpoint. If this field is set then on successful User creation this webhook will be triggered.
Endpoint Requirements
Password Reset, Reset MFA and User Registration Endpoint Requirements
AdminUI expects these endpoints to meet the following requirements:
- Accept POST
- Accept JSON
- Accept an email, username and subjectid in the body
Body
{
"subjectid": "string"
"email": "string",
"username": "string"
}
Delete Session Webhook Endpoint Requirements
AdminUI expects the delete session endpoint to meet the following requirements:
- Accept DELETE
- Accept JSON
- Accept an sessionId as a route parameter. E.g:
https://webhookhost/1234-5678
Response
On a successful request a 200 OK response should be returned.
Debugging
If the call made to the endpoint returns anything other than a success code, if logging is correctly configured, a error will be logged by the API containing the returned status code.