permission-docs: fix standaloneServer in todo-list-backend example plugin

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2022-03-15 13:20:12 +00:00
committed by Joon Park
parent 69fa90f181
commit 201d91ba9c
@@ -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'),
}),