multitenant: refactor config status updates

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4383
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
GitOrigin-RevId: f1e376d0b7ef8a64fb7f8bc38e8b764350f054ac
This commit is contained in:
Anon Ray 2022-08-05 11:59:59 +05:30 committed by hasura-bot
parent 66a9c6b045
commit 162e51c668
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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