Skip to content

Latest commit

 

History

History
 
 

aad-web-application-and-resource-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
page_type languages products name description
sample
java
azure-active-directory
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

Key concepts

This scenario supports Web application and Resource server in one application.

Getting started

We assume that when used as a Resource server, it is called WebApiC; when used as a Web application, it is called WebApp2.

Configure web app

See Configure web application for more information about web app.

Configure groups for sign in user

See Configure groups for sign in user for more information about groups for sign in user.

Configure web api

See Configure your middle-tier Web API or Configure Web API for more information about web api.

Advanced features

Run with Maven

cd azure-spring-boot-samples/aad/spring-cloud-azure-starter-active-directory/aad-web-application-and-resource-server
mvn spring-boot:run

Check the authentication and authorization.

See Check the authentication and authorization of Web Application or Check the authentication and authorization of Resource Server for more information about checking.

Troubleshooting

Next steps

Contributing