Checking license on Remote Backend

I have a Forge app utilizing Custom UI and Remote Backend. I want to check if the license is active for every request sent from the Custom UI to the Remote Backend.

I enabled licensing in the manifest file:

app:
	licensing:
		enabled: true

I deployed the app and installed it using this CLI command to test licensing in the development environment:

forge install --environment development --license active

However, the Forge invocation tokens within the requests sent to the Remote Backend do not include license information. How should I check if the license is active on the Remote Backend?

Hey @Berkayztrk,

Thanks for sharing this. We recently added license context to Forge backend functions and plan to extend this to the context in the Forge Invocation Token (FIT) in the future.

I’d recommend following FRGE-1486 which we will update once this is available.

2 Likes