Skip to content

Instantly share code, notes, and snippets.

@lechidung
Created December 7, 2018 15:32
Embed
What would you like to do?
jwt - signature
$encodedContent = base64UrlEncode(header) + “.” + base64UrlEncode(payload);
$signature = hashHmacSHA256($encodedContent);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment