Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Login and Logout webhook events are not firing for confluence cloud

Lava Kumar Dukanam _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2020

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! 

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 29, 2020

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!

Lava Kumar Dukanam _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2020

Thank you @Diego - I've posted it in the dev community

Like Diego likes this
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2020

Thank you for letting me know!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events