Brian Dunning's FileMaker Custom Functions

GenerateJWT ( header ; claim ; algorithm ; privatekey ; password )

To generate a JWT using native FileMaker Functionality

  Average rating: 5.0 (1 vote) Log in to vote

Robert D Trammel   Robert D Trammel - Show more from this author
Lucky Penny LLC

Share on Facebook Share on Twitter

  Sample input:
GenerateJWT( $header; $claim; "SHA256"; $privateRSA; "" )
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Developed with help from the amazing post at -

I'm not sure I would have figured out that I needed to do more than blank out the "=" signs in enough time to finish the project without that much needed article.

This is intended to allow you to generate JSON Web Tokens using FileMaker native functionality. At which point, you would just pass it to whatever service you're using it for. In my case, I used it to authenticate a google service.

You can also validate your JSON Web Tokens and learn more about them over at

Google Specific Guides:
JWT config:



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 19 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: