It's common to have apps that need to work even without an internet connection. Keyforge makes it easy to validate licenses oflline.
An internet connection is only required to activate the license and to
occasionally refresh the license token.
To make this possible, Keyforge can issue a signed license token that can be verified on the client. The token is a JWT and contains information about the license.
Go to license tokens and add a new product. You can edit how much time a token will be valid for, and other options after creating the new configuration.
For setups with more than one product, you can duplicate the signing key pair
from another product inside the edit menu. You can also import an external
key pair.
The simplest way to get and store the first license token for a device is after activating a license. You should use the activate license API endpoint.