From de695bf564e94a573578013e956b5537caefabe4 Mon Sep 17 00:00:00 2001 From: frederikprijck Date: Tue, 6 Jun 2023 10:05:10 +0200 Subject: [PATCH] fix --- EXAMPLES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EXAMPLES.md b/EXAMPLES.md index 23fa7dfc3..0ca3237d0 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -196,8 +196,8 @@ Important to realize is that the authentication state in the SDK is build around ```ts async function switchOrganization(newOrganization: string) { - await logout({ openUrl: false }); - await loginWithRedirect({ + await client.logout({ openUrl: false }); + await client.loginWithRedirect({ authorizationParams: { organization: newOrganization }