Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira jwt installed but sharedSecret is not returned

Mohamed Boussaa July 5, 2017

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

Comment

Log in or Sign up to comment
Mohamed Boussaa July 5, 2017

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

TAGS
AUG Leaders

Atlassian Community Events