I am getting the following error: AADSTS7000218: The request body must contain the following parameter: ‘client_assertion’ or ‘client_secret’ when using the MSAL4J library in a java application, I looked up on google and i’ve found that in my PublicClientApplication i must set the allowPublicClient to true, and still doesn’t work, the steps I do are: Opens a new window with the microsoft login, I enter the user and password and login, when i press accept, appears a blank page with text saying that the Authentication was succesfull, and in my console I get this error, so i can not retrieve the accessToken
Manifest
[Code opening the login window of microsoft](https://i
PublicClientApplication pca = PublicClientApplication.builder(Names.MicrosoftApiWsClientId)
.authority("https://login.microsoftonline.com/9385ea9a-d421-472d-a150-664182d49d54").build();
InteractiveRequestParameters parameters = InteractiveRequestParameters
.builder(new URI("http://localhost"))
.scopes(Collections.singleton(Names.MicrosoftApiWsScope)).build();
IAuthenticationResult result = pca.acquireToken(parameters).join();
.sstatic.net/LFBkGRdr.png)
More configuration MS Azure
All explained in the body