diff --git a/cabal.project.freeze b/cabal.project.freeze index 4a7ec429a71..66dba3e4848 100644 --- a/cabal.project.freeze +++ b/cabal.project.freeze @@ -312,6 +312,8 @@ constraints: any.Cabal ==3.2.1.0, any.type-equality ==1, any.type-hint ==0.1, any.typed-process ==0.2.8.0, + any.unagi-chan ==0.4.1.4, + any.unbounded-delays ==0.1.1.1, any.unix ==2.7.2.2, any.unix-compat ==0.5.4, any.unix-time ==0.4.7, diff --git a/server/src-lib/Hasura/Server/Auth/JWT.hs b/server/src-lib/Hasura/Server/Auth/JWT.hs index da19b410559..54035fc16aa 100644 --- a/server/src-lib/Hasura/Server/Auth/JWT.hs +++ b/server/src-lib/Hasura/Server/Auth/JWT.hs @@ -493,8 +493,6 @@ processJwt_ processJwtBytes decodeIssuer fGetHeaderType jwtCtxs headers mUnAuthR -- Otherwise there is an ambiguous situation which we currently treat as an error. issuerMatches <- traverse issuerMatch $ intersectKeys (keyCtxOnAuthTypes jwtCtxs) (keyTokensOnAuthTypes headers) - -- ltraceM "issuerMatches" issuerMatches - case (lefts issuerMatches, rights issuerMatches) of ([], []) -> withoutAuthZ (_ : _, []) -> jwtNotIssuerError