mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-19 22:48:44 +03:00
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:
parent
66a9c6b045
commit
162e51c668
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user