fix ms login

This commit is contained in:
Christian Kauer 2024-01-04 19:20:14 +01:00
parent c379367000
commit bda712d3ad
1 changed files with 13 additions and 13 deletions

View File

@ -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);