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.
You can integrate remote services with your Forge app using Forge Remote. You can also check out this presentation for some more details and patterns for integrating remote services with Forge apps.
Hope this helps!
cheers,
Tim
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.