Azure-Samples / ms-identity-java-webapp

A Java web application calling Microsoft graph that is secured using the Microsoft identity platform
MIT License
118 stars 105 forks source link

Deprecated properties in "application.properties" file #59

Open tandras92 opened 3 years ago

tandras92 commented 3 years ago

12.1.2. Spring Boot 2.x Property Mappings

The following properties and annotation(s) have been deprecated:

security.oauth2.client.client-id security.oauth2.client.client-secret security.oauth2.client.scope security.oauth2.client.authentication-scheme security.oauth2.client.client-authentication-scheme security.oauth2.client.access-token-uri security.oauth2.client.user-authorization-uri security.oauth2.resource.user-info-uri

@EnableOAuth2Sso

sangonzal commented 3 years ago

@tandras92 Thanks for reporting this.

It looks like Spring Security Oauth has been deprecated. We will update the sample to use Spring Security. https://github.com/spring-projects/spring-security/wiki/OAuth-2.0-Migration-Guide

sfragata commented 2 years ago

Hi I've just created one PR to migrate the projet spring-security-web-app to spring security 5 https://github.com/Azure-Samples/ms-identity-java-webapp/pull/81