yashwant3411
03/29/2022, 8:15 AMnkshah2
03/29/2022, 8:21 AM/callback/outlook
route? (from your screenshot)yashwant3411
03/29/2022, 8:21 AMyashwant3411
03/29/2022, 8:21 AMnkshah2
03/29/2022, 8:25 AMyashwant3411
03/29/2022, 8:28 AMyashwant3411
03/29/2022, 8:29 AMyashwant3411
03/29/2022, 8:29 AMyashwant3411
03/29/2022, 8:29 AMyashwant3411
03/29/2022, 8:29 AMBearer ${accessTokenAPIResponse.access_token}
,
},
});
const email = response.data.mail || response.data.userPrincipalName
return {
id: response.data.id,
email: {
id: email,
isVerified: true
}
};
}catch(err){
console.log(err)
throw new Error(err)
}
}
}
}
}nkshah2
03/29/2022, 8:31 AMappInfo
for both the frontend and backend (Stripping any API keys you may be using)yashwant3411
03/29/2022, 8:31 AMyashwant3411
03/29/2022, 8:31 AMyashwant3411
03/29/2022, 8:32 AMyashwant3411
03/29/2022, 8:32 AMyashwant3411
03/29/2022, 8:33 AMnkshah2
03/29/2022, 8:33 AMnkshah2
03/29/2022, 8:36 AM127.0.0.1:3000
or with localhost:3000
?yashwant3411
03/29/2022, 8:38 AMnkshah2
03/29/2022, 8:39 AMnkshah2
03/29/2022, 8:46 AMredirect_uri: "http://localhost:3000/callback/outlook/"
This should use 127.0.0.1:3000
and not localhost. In the screenshots you shared I notice that the /callback/outlook
route opens on localhost
but the rest of your application is using 127.0.0.1
@Usernkshah2
03/29/2022, 8:46 AM127.0.0.1
everywhere and see if the problem still occurs?yashwant3411
03/29/2022, 8:48 AMyashwant3411
03/29/2022, 9:09 AMyashwant3411
03/29/2022, 9:09 AMyashwant3411
03/29/2022, 9:09 AMnkshah2
03/29/2022, 9:12 AMlocalhost
cannot share it with 127.0.0.1
)yashwant3411
03/29/2022, 9:13 AMyashwant3411
03/29/2022, 9:13 AMnkshah2
03/29/2022, 9:13 AM