Customized JWT encoded with HMAC_SHA256 / HS256

Header aka Token Header;

Define the header without base64 encoding


Define the payload without the base64 encoding
Generate the Unix timestamp for the iat
Generate the unique nonce value for the jti


Setting the environment variable with the JWT authToken
Example for the JWT
Using the authToken as a variable in header

Writer | Vlogger | Techie | Technical Tester (Snr-QAE)