add microsoft login

This commit is contained in:
Ruben Fiszel
2022-12-10 12:18:40 +01:00
parent b0baa07579
commit 97bcdc8e3d
3 changed files with 13 additions and 2 deletions
+6 -1
View File
@@ -9,7 +9,7 @@
<script lang="ts">
import { goto } from '$app/navigation'
import { page } from '$app/stores'
import { faGithub, faGitlab, faGoogle } from '@fortawesome/free-brands-svg-icons'
import { faGithub, faGitlab, faGoogle, faMicrosoft } from '@fortawesome/free-brands-svg-icons'
import { onMount } from 'svelte'
import { slide } from 'svelte/transition'
import { OauthService, UserService, WorkspaceService } from '$lib/gen'
@@ -38,6 +38,11 @@
type: 'google',
name: 'Google',
icon: faGoogle
},
{
type: 'microsoft',
name: 'Microsoft',
icon: faMicrosoft
}
] as const