License information from forge backend

So , we are planning to deploy an application based on user count , and I am trying to reset the restriction on subscription end date change . To achieve this I am trying to fetch license details from back end rather than from front end since, users can modify them in front end
and it’s not safe according to atlassian

Is there any way I can get information similar to this from back end

from what I have read through the community , below is the example JSON that we can get from front end from @forge/bridge, I am trying to receive similar or same response in backend

{
  "active": true,
  "type": "commercial",
  "supportEntitlementNumber": null,
  "trialEndDate": null,
  "subscriptionEndDate": "2025-02-14T00:00:00.000Z",
  "isEvaluation": false,
  "billingPeriod": "ANNUAL",
  "ccpEntitlementId": "00000000-0000-0000-0000-000000000000",
  "ccpEntitlementSlug": "E-XXX-XXX-XXX-XXX"
}
1 Like

Hey @dnavashola,

Licensing information is not currently available in Forge functions, however it’s something which we’re looking into. I’d recommend following [FRGE-1334] - Ecosystem Jira in the interim.

2 Likes

Hi @SeanBourke Thanks for the reply and link
I can see that they are primarily discussing about license status in backend only functions , where as , I am also trying to fetch all the other details such as subscriptionEndDate etc.
Is this ticket also relevant for fetching those other details as well or is it just the license status . I see similar comment on the issue too, but didn’t see any clarification on this

Hey @dnavashola,

We’re currently exploring what information will be included in the Forge functions context details as part of this extension to the API. I’ve captured and shared your feedback for consideration to help us in shaping this.

2 Likes