How do I update the JWT sub claim to accountId?

From this ticket, I see the JWT sub claim should be replaced by accountId from key.

However, in my add-on, I am still receiving the “key” as my sub claim. How can I get the accountId as sub claim? My application is based on atlassian connect spring boot.

Hi @jeffrey,

Your app would need to opt-in to GDPR to receive the accountId’s. More information here: Are you ready for the GDPR API deprecation? - Atlassian Developer Blog


1 Like