fix ms login
This commit is contained in:
parent
c379367000
commit
bda712d3ad
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue