-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to login. Getting error: AADSTS7000218 The request body must contain the following parameter... #9
Comments
@riccardone |
Thanks, now it works! |
Gracias igual para mi funciona a la perfección, gracias por el aporte |
In case anyone else finds this through a search engine, I also ran into this error when acquiring a token with the system browser on .NET Core 3.0. I had set http://localhost as a redirect URL in my app, but accidentally set it to type "Web" rather than "Public client/native (mobile & desktop)". |
This did the trick for us! Thanks! |
allowPublicClient line in manifest needed to be set to true Thanks to Azure-Samples/active-directory-dotnetcore-devicecodeflow-v2#9 (comment)
I have the same issue and both fixes here didn't work for me https://stackoverflow.com/questions/66454849/what-is-correct-platform-for-using-the-publicclientapplication-web-or-spa |
@kwoxer :I answered the stack overflow question |
I also had to set the port number in the localhost-reply-url |
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
This is the modified appsettings.json that I'm using. Note that I've created a User and I've registered the application.
{
"Authentication": {
"AzureCloudInstance": "AzurePublic",
"Tenant": "organizations",
"TenantId": "5b31a837-fb9b-47cd-82cd-d99eede0dc64",
"ClientId": "482783e9-f148-452c-ab61-90d6ffc009f7"
},
"WebAPI": {
"MicrosoftGraphBaseEndpoint": "https://graph.microsoft.com"
}
}
The text was updated successfully, but these errors were encountered: