From 201d91ba9c51ee127b4beaa501832d4a3ceafa05 Mon Sep 17 00:00:00 2001 From: MT Lewis Date: Tue, 15 Mar 2022 13:20:12 +0000 Subject: [PATCH] permission-docs: fix standaloneServer in todo-list-backend example plugin Signed-off-by: MT Lewis --- .../plugins/todo-list-backend/src/service/standaloneServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/plugins/todo-list-backend/src/service/standaloneServer.ts b/contrib/plugins/todo-list-backend/src/service/standaloneServer.ts index 393b71ee8e..b0332e0931 100644 --- a/contrib/plugins/todo-list-backend/src/service/standaloneServer.ts +++ b/contrib/plugins/todo-list-backend/src/service/standaloneServer.ts @@ -39,7 +39,7 @@ export async function startStandaloneServer( const discovery = SingleHostDiscovery.fromConfig(config); const router = await createRouter({ logger, - identity: new IdentityClient({ + identity: IdentityClient.create({ discovery, issuer: await discovery.getExternalBaseUrl('auth'), }),