Hello,
Login and Logout webhook events are not firing in confluence cloud via a ngrok listening at port 3000.
I've defined webhook module in descriptor and added 3 events
"webhooks": [
{
"event": "page_created",
"url": "/pages/created"
},
{
"event": "logout",
"url": "/rest/logout",
"excludeBody": false
},
{
"event": "login",
"url": "/rest/login",
"excludeBody": false
}
]
and the corresponding routes
app.post('/rest/logout', function(req,res){
console.log(req.body);
console.log("***********Logout called!! **************");
})
app.post('/rest/login', function(req,res){
console.log(req.body);
console.log("***********Login called!! **************");
})
app.post('/pages/created', function(req,res){
console.log(req.body);
console.log("***********page created!! **************");
})
Am i missing anything here?
page_created event works fine but not login and logout.
Appreciate any pointers.
Thanks!
Hello @Lava Kumar Dukanam _Appfire_ !
What I understand that an event is not being fired upon its specific call. However, I believe that you will have better results asking for directions from more specialized people from our Developer Community.
You can check all things development here:
Let us hear from you!
Thank you @Diego - I've posted it in the dev community
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.