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 fin…
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” inst…
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…
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 log…
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.PR…
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.excepti…