Move the jwks registration outside of the lifecycle middleware
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-app-api': patch
|
||||
---
|
||||
|
||||
Move the JWKS registration outside of the lifecycle middleware
|
||||
+1
-1
@@ -75,8 +75,8 @@ export const httpRouterServiceFactory = createServiceFactory(
|
||||
config,
|
||||
});
|
||||
|
||||
router.use(createLifecycleMiddleware({ lifecycle }));
|
||||
router.use(createAuthIntegrationRouter({ auth }));
|
||||
router.use(createLifecycleMiddleware({ lifecycle }));
|
||||
router.use(credentialsBarrier.middleware);
|
||||
router.use(createCookieAuthRefreshMiddleware({ auth, httpAuth }));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user