Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [spring-cloud-azure]

The tag has no usage guidance.

spring-cloud-azure
0 votes
2 answers
90 views

AccessDeniedHandler not called when using AadResourceServerHttpSecurityConfigurer

My application is a simple resource server — I am using AadResourceServerHttpSecurityConfigurer.aadResourceServer() to validate the given access token. The specific documentation I have followed can ...
Moody's user avatar
  • 833
0 votes
1 answer
45 views

JdbcOAuth2AuthorizedClientService not working with AadWebApplicationHttpSecurityConfigurer but did with AadWebSecurityConfigurerAdapter

After migrating from Spring Cloud Azure 4.x to 5.x, the JdbcOAuth2AuthorizedClientService no longer seems to save the "OAuth2 Authorized Client". Previous 4.6 code: @EnableWebSecurity @...
Chuck C's user avatar
  • 453
0 votes
0 answers
63 views

authentication to azure don't return an access token for my api

I created a basic spring boot application with spring cloud azure @RestController public class TestController { @GetMapping("admin") @ResponseBody public String getInfo(@...
robert trudel's user avatar
1 vote
0 answers
270 views

Spring Boot 3.2.1 and spring-cloud-azure-starter-active-directory 5.11.0

I'm attempting to following Microsoft's instructions for Protecting a resource server/API using Spring Boot 3.2.1. application.yml spring: cloud: azure: active-directory: enabled: ...
user142405's user avatar
0 votes
1 answer
185 views

Plain Spring: Load secrets from Azure Key Vault

I am currently trying to replace hardcoded secrets on my Spring (non SpringBoot) application using the Spring Cloud Azure library as documented in here. Currently I have managed to retrieve the ...
Sal's user avatar
  • 27
0 votes
2 answers
686 views

How to configure Spring Cloud Azure Active Directory and Spring Boot OAuth2 together?

I've configured GitHub and Google via Spring Security application.properties and now I'm trying to add Active Directory. I've added spring-cloud-azure-starter-active-directory and I also configured it ...
Jakub's user avatar
  • 2,141
0 votes
1 answer
99 views

Autowiring KeyClient with Spring Cloud Azure

I have set up a Spring Cloud Azure application. I use both secrets and keys in my Azure Keyvault. I started with integrating secrets and followed https://spring.io/projects/spring-cloud-azure, which ...
Ian Lee's user avatar
0 votes
2 answers
735 views

azure-spring-boot-starter-keyvault-secrets autoconfiguration of SecretClient does not work with spring-boot 2.7.17

I set up connection between spring-boot and AKV and everything works fine when @Bean SecretClient is added explicitly. I have looked across various code samples and for azure-spring-boot-starter-...
michalavis's user avatar
1 vote
1 answer
120 views

Accesing endpoint from browser is working but not from postman

i have a question regarding the testing flow for accesing a resorce(an endpint in a java spring cloud application) secured by Azure Active Directory. So when i am accesing the resource from browser ...
Imatabil's user avatar
0 votes
0 answers
50 views

java spring azure cloud ad from cookie based to token based

I have a spring boot azure active directory application and i need to change it from cookie based JSESSIONID to token based because currently its cookie based. The app is simple just a yaml file with ...
Aranja Hilu's user avatar
2 votes
1 answer
798 views

Spring Boot 3.0 with Azure AAD Security and CORS not working, worked in Spring Boot 2.6

For our application we had to write a custom OIDCUserService and OIDCUser objects as well as customize Azure's AAD Security Config with Spring. Here is the code for Spring Boot 2.6 that works. @...
bytor99999's user avatar
0 votes
1 answer
166 views

NoSuchFieldError: Companion for azure.application-insights

Currently migrating my spring-boot app to use the latest compatibile version for JDK 8. I'm currently receiving this error when running the spring-boot-app ightsTelemetryAutoConfiguration': ...
SoulChill19's user avatar
0 votes
2 answers
942 views

AAD Token authentication in RestApi Spring boot 3

I would like to allow resources access in my RestApi Spring Boot 3 application by bearer token received from Azure AD. POM: <dependency> <groupId>org.springframework.boot</...
Peter F's user avatar
  • 61
1 vote
1 answer
1k views

Connecting to Azure Service bus using spring-cloud-azure-starter-servicebus-jms

I am trying to follow microsoft documentation on connecting to azure service bus using spring-cloud-azure-starter-servicebus-jms. Ref but no luck . Pom file : <?xml version="1.0" ...
Martin Joseph 's user avatar
0 votes
1 answer
377 views

Using Azure event hubs stream, max-attempts not working

I use "spring-cloud-azure-stream-binder-eventhubs" for event hubs development. Now when I deal with consumers, there may be some business exceptions. my config stream: function: ...
James's user avatar
  • 1

15 30 50 per page