{#if authState.isLoginModalOpen}

Login

{#if authState.loginMode === "select"}
OR
e.key === "Enter" && authState.performOfflineLogin()} />
{:else if authState.loginMode === "microsoft"}
{#if authState.msLoginLoading && !authState.deviceCodeData}
Starting login flow...
{:else if authState.deviceCodeData}

1. Go to this URL:

2. Enter this code:

e.key === 'Enter' && navigator.clipboard.writeText(authState.deviceCodeData?.user_code || "")} onclick={() => navigator.clipboard.writeText( authState.deviceCodeData?.user_code || "" )} > {authState.deviceCodeData.user_code}

Click code to copy

{authState.msLoginStatus}

This window will update automatically.

{/if}
{/if}
{/if}