[英]WSO2 IS how to enable webhooks to external service on user's claims change
Is there any way to send webhooks to external service on user's claims changing?有没有什么办法可以在用户声明发生变化时将 webhook 发送到外部服务?
Currently WSO2IS does not have in built capability to send webhooks to an external service.目前 WSO2IS 没有将 webhooks 发送到外部服务的内置功能。 But based on your requirements you can write a custom event handler[1] and subscribe it to the events you need to capture, process those events and publish the event data to the external service.但根据您的要求,您可以编写自定义事件处理程序 [1] 并将其订阅到您需要捕获的事件、处理这些事件并将事件数据发布到外部服务。
In your case you can write a custom event handler to subscribe 'POST_SET_USER_CLAIMS' event to capture user claim changes and publish the data to the external service you need.在您的情况下,您可以编写一个自定义事件处理程序来订阅“POST_SET_USER_CLAIMS”事件以捕获用户声明更改并将数据发布到您需要的外部服务。
[1] https://is.docs.wso2.com/en/latest/references/extend/user-mgt/write-a-custom-event-handler/ [1] https://is.docs.wso2.com/en/latest/references/extend/user-mgt/write-a-custom-event-handler/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.