mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
added comment for future proofing
This commit is contained in:
committed by
Дамян Минков
parent
cf49af1a9f
commit
7af23f35ba
@@ -274,7 +274,7 @@ function Util:process_and_verify_token(session, acceptedIssuers)
|
||||
if alg == nil then
|
||||
return false, "not-allowed", "'alg' claim is missing";
|
||||
end
|
||||
if alg.sub(alg,1,2) ~= "RS" then
|
||||
if alg.sub(alg,1,2) ~= "RS" then -- do not remove - needed to protect jwt.decode in verify_token
|
||||
return false, "not-allowed", "'kid' claim only support with RS family";
|
||||
end
|
||||
pubKey = self:get_public_key(kid);
|
||||
|
||||
Reference in New Issue
Block a user