For this request, I am trying to set the entity, however when I do request.setEntity, it says required type HttpEntity, on upcasting it to HttpEntity as request.setEntity((HttpEntity) entity) it still gives me exception. Answer I was using “com.signalfx.shaded.apache.http.entity.StringEntity” instead of “import org.apache.http.entity.StringEntity” which was causing the issue.
Helo Here, I Hope you are doing well. I’s been few days I’m having this problem. I have a spring boot API using Azure AD authentication thanks to AADResourceServerWebSecurityConfigurerAdapter. Here is …
I am trying to integrate azure ad into a java web application using openidconnect approach. My web application is deployed on weblogic application server. Reference: microsoft doc Base code that I used is from microsoft github repo: Link After integration, I was able to redirect my login page to Microsoft login page, entered credential and then when Microsoft redirects back
I receive the following error: Even though I’ve provided the client ID in application.properties. I followed the following link: https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory POM: MAIN: CONTROLLER APPLICATION.PROPERTIES I updated my POM with The new error after updating POM: I’ve updated my POM, now it is building fine, but on login I’m getting AADSTS50011: The reply URL specified in the request does not match
I am using UsernamePasswordCredential provider to connect to AAD and get de users using msgraph-sdk-java (https://github.com/microsoftgraph/msgraph-sdk-java), the code is the following: and I am receiving the following error: java.io.IOException: java.util.concurrent.ExecutionException: com.azure.core.exception.ClientAuthenticationException: Failed to acquire token with username and password any idea if I need configure somethings in azure active directory? Answer Your problem has been resolved through comments. Post it