Skip to content

Commit

Permalink
Avoiding confusing OIDC debug message for default tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed Jan 13, 2025
1 parent 54619a8 commit dcfab30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private boolean isTenantSetByAnnotation(RoutingContext context, String tenantId)
private TenantConfigContext getStaticTenantContext(String tenantId) {
var configContext = tenantId != null ? tenantConfigBean.getStaticTenant(tenantId) : null;
if (configContext == null) {
if (tenantId != null && !tenantId.isEmpty()) {
if (tenantId != null && !tenantId.isEmpty() && !OidcUtils.DEFAULT_TENANT_ID.equals(tenantId)) {
LOG.debugf(
"Registered TenantResolver has not provided the configuration for tenant '%s', using the default tenant",
tenantId);
Expand Down

0 comments on commit dcfab30

Please sign in to comment.