I have followed the Spring Security Web App example found at https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-web-app-sign-user-overview and managed to