-
hmmhesaysI'm trying to generate a kazoo jwt outside of kazoo. Seems to be returning something different than my hmac function given what I thought were the same inputs. crypto:hmac(HashMethod, CryptoKey, Identity)}
-
hmmhesaysI'm also missing how we end up with an identity_sig field with a dash in it. rgvnI3XXXX-NEihogWIzhalB51YryqXXXXXX
-
hmmhesaysmc_, you happen to have any insight on that?
-
BadRequesthmmhesays: why don't you just authenticate the user and grab the token?
-
BadRequestI use this script for testing purposes github.com/2600hz/kazoo/blob/4.3/scripts/export_auth_token.bash
-
hmmhesaysNM I figured it out. identity_sig is base64url encoded not base64 encoded.
-
mc_hmmhesays: glad i could help
-
hmmhesaysmc_, I usually figure it out shortly after I ask lol
-
mc_rubber duck debugging ftw
-
hmmhesayslol How have I had never heard that.