From bda712d3ad3577239beddd53793f91f15dcca3cb Mon Sep 17 00:00:00 2001 From: Christian Kauer Date: Thu, 4 Jan 2024 19:20:14 +0100 Subject: [PATCH] fix ms login --- pages/login.vue | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pages/login.vue b/pages/login.vue index 31caef6..90a81ef 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -9,20 +9,20 @@ const handleLogin = () => { - const { data, error } = supabase.auth.signInWithPassword({ - email: 'pakabu@straso.com', - password: 'f@FvxwARn%k4Kz@r$qyxo$9RVG7#aGgo7L5S!^As', - redirectTo:"/profile/listings" - }); - - // const {error} = supabase.auth.signInWithOAuth({ - // provider:"azure", - // options: { - // scopes: 'offline_access', - // // scopes: 'email', - // // redirectTo: 'confirm', - // }, + // const { data, error } = supabase.auth.signInWithPassword({ + // email: 'pakabu@straso.com', + // password: 'f@FvxwARn%k4Kz@r$qyxo$9RVG7#aGgo7L5S!^As', + // redirectTo:"/profile/listings" // }); + + const {error} = supabase.auth.signInWithOAuth({ + provider:"azure", + options: { + // scopes: 'offline_access', + // scopes: 'email', + // redirectTo: 'confirm', + }, + }); if (error) { //console.log(error);