GeneXus JWT Module is an independent module that implements the JSON Web Token standard defined in RFC7519
The module is based on Microsoft's System.IdentityModel.Tokens.Jwt library for .Net implementation and Auth0 for Java implementation.
JWT is commonly used to validate information integrity and authenticity, or as a means for authentication. In some cases, it is also used as a guarantee for data confidentiality when the information is also encrypted.
At present, this module doesn't implement data encryption. It implements a signed JWT that is not nested.
This module begins to support nested private claims since GeneXus 16 Upgrade 11.
It does not implement arrays on claims, nested signatures nor specific JSON data types yet.
The module is organized in folders using standard defined categories.
- JWT - JWT engines for signature and verification, and specific optionals.
- Utils - Specific utilities to work with the module.
GeneXus
- SecurityAPICommons Module
.Net
Requires .Net Framework 4.7 since GeneXus 17 upgrade 1
Requires dotnet SDK>=3.1 and 5.0 since GeneXus 17 Upgrade 5
Requieres dotnet SDK>= 6.0 since GeneXus 17 Upgrade 8
- BouncyCastle
- Portable.BouncyCastle
- Microsoft.IdentityModel.JsonWebTokens
- Microsoft.IdentityModel.Logging
- Microsoft.IdentityModel.Tokens
- System.IdentityModels.Tokens.Jwt
Java
- BouncyCastle
- AuthO
- Jackson
You have to install SecurityAPICommons and GeneXusJWT modules using the Manage Module References dialog from the Knowledge Manager option (located in the GeneXus IDE toolbar).
GeneXus 16 Upgrade 8
For Net Core it's available since GeneXus 16 Upgrade 9
Java, Net Framework and Net Core Web (server-side module)