question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The request body must contain the following parameter: 'client_id'

See original GitHub issue

I am trying out the new version v0.2.0 and importing the config with a json file (I used the example from the wiki). But I keep getting this error:

D/AuthenticationManager: Authentication failed: com.microsoft.identity.client.exception.MsalServiceException: AADSTS90014: The request body must contain the following parameter: 'client_id'.
    Trace ID: f0c80f05-e0c4-4758-9899-be82c5590800
    Correlation ID: 6dc7962d-f038-494d-83aa-52b48e003cdc
    Timestamp: 2018-10-11 07:27:46Z

Here is my auth_config.json:

{
  "client_id" : "xyz",
  "authorization_user_agent" : "WEBVIEW",
  "redirect_uri" : "xyz://auth",
  "authorities" : [
    {
      "type": "AAD",
      "audience": {
        "type": "AzureADandPersonalMicrosoftAccount"
      }
    }
  ]
}

And config import: mPublicClientApplication = new PublicClientApplication(App.getContext(), R.raw.auth_config);

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
Glennmencommented, Oct 17, 2018

After a quick test with latest version the issue indeed seems to be fixed. I will close the issue, thanks guys for the quick fix!

Read more comments on GitHub >

github_iconTop Results From Across the Web

The request body must contain the following parameter
I have a RestController that literally does not much. What it should do is, when i call localhost:8080/ i want azure ad be...
Read more >
AADSTS900144: The request body must contain the following ...
AADSTS900144: The request body must contain the following parameter: 'client_id'. Security. Is this issue security related? Regression.
Read more >
Fixed – AADSTS7000218: The request body must contain the ...
Original exception: AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Read more >
The request body must contain the following parameter ...
The request body must contain the following parameter : client_assertion or client_secret... Cause. The Redirect URl is incorrectly set to "web".
Read more >
ERROR: The request body must contain the following parameter
Hi! I want to authenticate against SharePoint Online and got the following error: Fri Feb 26 10:43:08 CET 2021:ERROR:Failed to create the.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found