@Olasumbo Eniola • Looks like this is an encoding issue and you need to use the header: 'Content-Type': 'application/x-www-form-urlencoded'
Ref:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I'm trying to get access token but I keep getting this error
AADSTS900144: The request body must contain the following parameter: 'grant_type'
I tried it this way
body:
client_id=${CLIENT_ID_OUTLOOK}&grant_type=authorization_code&scope=user.read user.email&client_secret=${CLIENT_SECRET}&redirect_uri=http://localhost:3000/candidate/profile
,
and this way
{
grant_type: "authorization_code ", scope: "user.read user.email", client_id: CLIENT_ID_OUTLOOK, client_secret: CLIENT_SECRET, redirect_uri: "http://localhost:3000/candidate/profile"
, }
P.S: I am using react.
I need help please
@Olasumbo Eniola • Looks like this is an encoding issue and you need to use the header: 'Content-Type': 'application/x-www-form-urlencoded'
Ref: