Forums

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

How can I make an API request on Jira using a Forge JWT Token

Amedee Potier May 21, 2025

We are building a Forge application. 

 

We are getting a Forge JWT token. 

With this token we can make some API requests using REACT and your SDK

How to make a request using this token and a regular REST request, outside of your REACT SDK ? In our integration, the app is a separate product that is running in python, not in REACT, and we need to be able to use the token, just like we used to do it with your previous Connect integration.

1 answer

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
May 21, 2025

You can't use the Forge JWT token directly to make REST API calls from an external one(Python backend). It's unlike Connect. Forge JWTs are used only inside the Forge platform, specifically by the Custom UI bridge or Reesolver functions. To make a REST call from your Forge app outside React or Custom UI, you should use @Forge/api in your backend resolver function.

Anyway, it is best to ask this sort of questions on https://community.developer.atlassian.com/ as you may get more answers there.

Amedee Potier May 21, 2025

Thanks for the answer. This is a very strong constraint! It means it is impossible to make an application outside of React, and existing app integrations need to be rewritten from scratch. 

I will consult the suggested community link for the follow up questions.

Suggest an answer

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

Atlassian Community Events