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,21 +9,21 @@
const handleLogin = () => { const handleLogin = () => {
const { data, error } = supabase.auth.signInWithPassword({ // const { data, error } = supabase.auth.signInWithPassword({
email: 'pakabu@straso.com', // email: 'pakabu@straso.com',
password: 'f@FvxwARn%k4Kz@r$qyxo$9RVG7#aGgo7L5S!^As', // password: 'f@FvxwARn%k4Kz@r$qyxo$9RVG7#aGgo7L5S!^As',
redirectTo:"/profile/listings" // redirectTo:"/profile/listings"
});
// const {error} = supabase.auth.signInWithOAuth({
// provider:"azure",
// options: {
// scopes: 'offline_access',
// // scopes: 'email',
// // redirectTo: 'confirm',
// },
// }); // });
const {error} = supabase.auth.signInWithOAuth({
provider:"azure",
options: {
// scopes: 'offline_access',
// scopes: 'email',
// redirectTo: 'confirm',
},
});
if (error) { if (error) {
//console.log(error); //console.log(error);
msg = error; msg = error;