page_type | languages | products | name | description | ||
---|---|---|---|---|---|---|
sample |
|
|
Developing Spring Boot Web Application Supports Login by Azure Active Directory Account and Expose REST API |
This sample demonstrates how to develop a Spring Boot web application supports login by Azure AD account and expose REST API at the same time. |
Developing Spring Boot Web Application Supports Login by Azure Active Directory Account and Expose REST API
This scenario supports Web application
and Resource server
in one application.
We assume that when used as a Resource server, it is called WebApiC
; when used as a Web application, it is called WebApp2
.
See Configure web application for more information about web app.
See Configure groups for sign in user for more information about groups for sign in user.
See Configure your middle-tier Web API or Configure Web API for more information about web api.
cd azure-spring-boot-samples/aad/spring-cloud-azure-starter-active-directory/aad-web-application-and-resource-server
mvn spring-boot:run
See Check the authentication and authorization of Web Application or Check the authentication and authorization of Resource Server for more information about checking.