Hi. I am following the offline-user-impersonation guide and trying to get Jira user auth token from Forge Remote app. As far as I understand from Overview of the Atlassian platform GraphQL API I can use GraphQL Gateway which is located at https://{my-subdomain}.atlassian.net/gateway/api/graphql.
Using the trace_id I checked the app and the site it is installed on. I don’t see any impersonation scopes set for the app. Could you check the following:
The app manifest has scopes allowed for impersonation
The app with the new impersonation scopes has been deployed
The app is updated (forge install --upgrade) on the site (major version update should not happen if no new scopes were added, but it would be great to double-check).
Sure, a user in this context is defined by the OAuth Client ID, which is unique for each combination of an app and an environment.
E.g., if you have the same app installed on a site in Dev and Prod environments and both apps request impersonation tokens, each app can mint up to 1000 tokens per minute.
Please bear in mind that the usage of the tokens with the Product APIs is subject to a separate set of rate limits.