Skip to content

Commit

Permalink
dbeaver/pro#3700 Hide API token authentication method (#3093)
Browse files Browse the repository at this point in the history
Co-authored-by: kseniaguzeeva <[email protected]>
  • Loading branch information
ShadelessFox and kseniaguzeeva authored Nov 25, 2024
1 parent 51af88e commit 19a5506
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2654,7 +2654,7 @@ public SMAuthProviderDescriptor[] getAvailableAuthProviders() throws DBException
Set<SMAuthProviderCustomConfiguration> customConfigurations = appConfiguration.getAuthCustomConfigurations();
List<SMAuthProviderDescriptor> providers = WebAuthProviderRegistry.getInstance().getAuthProviders().stream()
.filter(ap ->
!ap.isTrusted() &&
!ap.isTrusted() && !ap.isAuthHidden() &&
appConfiguration.isAuthProviderEnabled(ap.getId()) &&
(!ap.isConfigurable() || hasProviderConfiguration(ap, customConfigurations)))
.map(WebAuthProviderDescriptor::createDescriptorBean).toList();
Expand Down

0 comments on commit 19a5506

Please sign in to comment.