We want to create a JWT token and sign it using the HS256 algorithm. We encoded the header and payload using Base64URL and got:
Header: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
Payload: eyJpZCI6IjIzOTE3NiIsIm5hbWUiOiJCb2IgU2FsZXZhbiJ9
Calculate the resulting signature of this token using the key: "abrasecret123".
You can use hmac hash online or JWT.IO service for JWT tokens.