Skip to content

Instantly share code, notes, and snippets.

@goacid
Created April 20, 2020 10:33
Show Gist options
  • Save goacid/43b804387ff3428762d633c0f305a9a2 to your computer and use it in GitHub Desktop.
Save goacid/43b804387ff3428762d633c0f305a9a2 to your computer and use it in GitHub Desktop.
--- a/luajwtjitsi.lua 2020-04-20 12:27:20.788878041 +0200
+++ b/luajwtjitsi.lua 2020-04-20 12:26:48.668799470 +0200
@@ -141,7 +141,7 @@
if verify then
if not header.typ or header.typ ~= "JWT" then
- return nil, "Invalid typ"
+ -- return nil, "Invalid typ"
end
if not header.alg or type(header.alg) ~= "string" then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment