Skip to content

Commit

Permalink
add matchIfMissing
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkelemen committed Sep 20, 2024
1 parent 4c405bf commit e49f8cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public FilterRegistrationBean<?> webappAuthenticationFilter() {
}

@Bean
@ConditionalOnProperty(name = "identity-provider.enabled", havingValue = "true", prefix = OAuth2Properties.PREFIX)
@ConditionalOnProperty(name = "identity-provider.enabled", havingValue = "true", prefix = OAuth2Properties.PREFIX, matchIfMissing = true)
public OAuth2IdentityProviderPlugin identityProviderPlugin() {
logger.debug("Registering OAuth2IdentityProviderPlugin");
return new OAuth2IdentityProviderPlugin();
Expand Down

0 comments on commit e49f8cc

Please sign in to comment.