I’m created java web application using spring boot starter for azure active directory step by step like is described in:https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory My application with my azure account work fine when i open localhost:8080 it redirects me to azure where I do the login and then I’m redirected back to my app. Problem is when i try to configure this dummy app
Tag: azure-active-directory
HTTP POST with request body
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.
Azure AD with spring boot with user in local Database
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 the flow I want to have: User gets token from Azure in the react native frontend (done) User logs into the api thanks to the given token. (to-do) If
Unable to get the AuthenticationResult after redirecting to java web-app
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
Getting an exception when tried to implement Azure AD authentication and authorization in Spring Boot
I receive the following error: Even though I’ve provided the client ID in application.properties. I followed the following link: https://learn.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
List Azure AD using UsernamePasswordCredential provider
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