spring-cloud / spring-cloud-common-security-config

A common security infrastructure used by Spring Cloud Data Flow and the projects in its ecosystem
19 stars 32 forks source link

Re-add support for ExternalOauth2ResourceAuthoritiesMapper #70

Closed ghillert closed 4 years ago

ghillert commented 4 years ago

With the migration to Spring Security 5.2.x we added a regression in regards to the ExternalOauth2ResourceAuthoritiesMapper.

If this is not empty: authorizationProperties.getExternalAuthoritiesUrl() then we should configure the ExternalOauth2ResourceAuthoritiesMapper instead the default DefaultAuthoritiesMapper.