3.7.0 (2021-07-20)
New Features
-
Add property
azure.activedirectory.application-type
to configure the application type.Here are the 4 valid values:
- web_application: Web Application.
- resource_server: Resource Server.
- resource_server_with_obo: Resource Server with authorization grant type
on_behalf_of
. - web_application_and_resource_server: Web Application and Resource Server in one application, it also supports
on_behalf_of
.
This property is optional, its value can be inferred by dependencies, only
web_application_and_resource_server
must be configured manually:azure.activedirectory.application-type=web_application_and_resource_server
.Here is the table about how the AAD starter infers application type by dependencies:
Has dependency: spring-security-oauth2-client Has dependency: spring-security-oauth2-resource-server Valid values of application type Default value Yes No web_application
web_application
No Yes resource_server
resource_server
Yes Yes resource_server_with_obo
,web_application_and_resource_server
resource_server_with_obo
-
Support new value
on_behalf_of
for OBO authorization grant type, originally we only supporton-behalf-of
.