Spring Boot api secure with jwt for web api

Anshul Ghanshala 0 Reputation points
2024-07-18T16:53:20.7166667+00:00

https://github.com/Azure-Samples/azure-spring-boot-samples/tree/main/aad/spring-cloud-azure-starter-active-directory/web-client-access-resource-server/aad-resource-server

I followed this to create my spring boot resource server to protect my API.
But it's not working and I can login without sending any authorization token (jwt).

I also followed this medium article
https://medium.com/version-1/azure-ad-integration-in-spring-boot-application-81d66ffd4739

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.