简体   繁体   English

WSO2 是如何在用户声明更改时启用 webhook 到外部服务

[英]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.

相关问题 如何在 wso2 中创建用户是通过 scim2 api 与外部声明& - How create user in wso2 is via scim2 api with external claims& 无法通过 SCIM2 API 在 WSO2 IS 中创建用户,并带有外部声明 - Unable to create user in WSO2 IS via SCIM2 API with external claims 如何在 wso2 APIM 4.1 中使用 X-JWT-Assertion header 获取完整的用户声明详细信息? - How to get complete user claims details using X-JWT-Assertion header in wso2 APIM 4.1? WSO2 IS Claims 来自二级存储的配置 - WSO2 IS Claims configuration from secondary store 如何在 WSO2 IS Analytics 5.8.0 中启用基于地理位置的统计信息 - How to enable Geolocation Based Statistics in WSO2 IS Analytics 5.8.0 WSO2 - Micro Integrator 未连接到 API 经理的服务目录 - WSO2 - Micro Integrator is not connecting to the API Manager's SERVICE CATALOG 如何使用 WSO2 charon scim 库扩展用户模式 - How to extend user schema using WSO2 charon scim library 如何更改 wso2 esb 中的默认日志级别 - How to change default log level in wso2 esb 如果用户在 wso2 身份服务器中尝试失败,我如何在 wso2 日志中记录用户名 - how can i log username in wso2 logs in case of failed attempt of a user in wso2 identity server 如何使用 OAuth2 和 WSO2 ESB 4.9.0 和 WSO2-IS 4.5.0 保护 REST 服务 - How to Secure REST Service using OAuth2 with WSO2 ESB 4.9.0 & WSO2-IS 4.5.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM