The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Missing Principal/Account Id in Forge Invocation Token for Remote Backend Calls

Temp
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2025

Hi Team,

I'm implementing an asynchronous remote backend call using Invoke Remote. To manage these calls, I'm pushing them to a queue and have defined a consumer that handles the actual API call to the backend.

While the Forge Invocation Token (FTI) is successfully attached and includes details like Cloud Id and App Id, I’ve noticed that the Principal (or Account Id) is missing from the token payload. This information is crucial for identifying the user initiating the request on my backend.

It appears the user context is not being picked up properly when processing the event from the queue. Could you please help clarify how to ensure the user context, specifically the Principal, is retained and included in the FTI when making remote calls from a queue consumer?

Thank you for your support.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Marc -Devoteam-
Community Champion
August 6, 2025

Hi @Temp 

Welcome to the community.

Please list your request on the Developer Community

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events