From 178a8ecdb7af15783a8a49583c70e8aa40fc72c3 Mon Sep 17 00:00:00 2001 From: Steven Rhodes Date: Sun, 1 Sep 2024 21:45:19 -0700 Subject: [PATCH] Always allow manifest --- src/auth.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/auth.rs b/src/auth.rs index f5928fa..7fa38e3 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -226,6 +226,10 @@ impl Authorizer { // No need to do any more auth, call our normal function. return next(req); } + // Manifest gets a special carve-out to make sure it's installable. + if req.url() == "/manifest.json" { + return next(req); + } let redirect_uri = self_uri(&req) + "/code"; // Construct a message for OIDC.