Jira jwt installed but sharedSecret is not returned

Hello,

I created an atlassian connect addon in my atlassian DEV environement.

I added an installed callback to the addon descriptor, the callback is used to get and save the JSON payload (security context).

I installed the addon and everything is working fine.

the only issue is that when I checked the JSON payload returned by the atlassian product (jira) I found that the 'sharedSecret' is missing from the JSON object.

The JSON payload is looks like this

{"key":"key","clientKey":"xxxxxxxx","publicKey":"xxxxxxxxx","baseUrl":"https://xxx.atlassian.net","productType":"jira","description":"xxx ","eventType":"enabled"}

 

It's normal? Or have I forgotten something?

 

Thank you.

1 comment

Hi,

I finally find the cause of the issue described above. On my addon descriptor the installed and enabled callbacks are the same so when I install the addon both callbacks are called and the payload of the last callback (enabled) is saved. Knowing that the sharedSecret is not returned on the enabled callback this is why I did find it on the JSON object.

 

Thx

Comment

Log in or Join to comment
Community showcase
Emilee Spencer
Published 8 hours ago in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

30 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot