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.