diff --git a/static/scripts/authentication.ts b/static/scripts/authentication.ts index 821bcbe..be69976 100644 --- a/static/scripts/authentication.ts +++ b/static/scripts/authentication.ts @@ -71,6 +71,8 @@ export class AuthService { public async signOut(): Promise { await this.supabase.auth.signOut(); + localStorage.removeItem(`sb-${SUPABASE_STORAGE_KEY}-auth-token`); + window.location.reload(); } public async renderGithubLoginButton(user?: GitHubUser | null): Promise {