JWT Snap Pack examples

Example Snaps used

JWT Generate - Basic Use Case

The pipeline below shows a standalone JWT Generate Snap (we define a pipeline parameter called username and there is an associated JWT Account ).

JWT Generate -Typical Snap Configurations

The JWT Generate Snap allows users to issue limited scope tokens for internal users.

JWT Generate - Advanced Use Case

The JWT Generate Snap allows users to issue limited scope tokens for internal users.

JWT Validate - Basic Use Case

The pipeline below shows a standalone JWT Validate Snap (it contains a hardcoded token for demo purposes).

JWT Validate - Typical Snap Configurations

The Access token parameter must always be present. Since it is an Understanding Expressions in SnapLogic, it can refer to pipeline parameter, input document parameter or a plain string.

JWT Validate - Advanced Use Case

This Snap can be used at the start of a pipeline to limit access. By configuring the "audience" parameter, the pipeline will only allow calls with access token that contains that "audience" parameter.