KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: JSON Web Tokens in 4D
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: January 23, 2023


Information is abundant and flowing at an astronomical rate. There are many ways to send and exchange information from sending it as plain text or securing the data in some way. One method of transferring information is as a JSON Web Token (JWT). JWTs are a proposed standard of formatting data that allows the token to be sent efficiently. There are various uses for JWTs such as in online APIs. Various APIs have adopted the use of JSON Web Tokens (JWTs) to transfer information, usually identifying information to authenticate the other party. This Technical Note will explain how JWTs are generated and used. Then examples will be provided on how to apply the concept to 4D to generate and parse JWTs. A database with the example code based on Thomas Maul’s work to create JWTs is also provided.

Download Complete Tech Note: Tech Note Document