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