Skip to content

Commit

Permalink
CB-6044 do not save api token on auth
Browse files Browse the repository at this point in the history
  • Loading branch information
yagudin10 committed Dec 16, 2024
1 parent 92c7cef commit 4ec5092
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public WebPropertyInfo[] getDetails() throws DBWebException {
}
try {
SMAuthProvider<?> authProvider = this.authProviderDescriptor.getInstance();
if (authProvider instanceof SMAuthProviderExternal) {
if (authProvider instanceof SMAuthProviderExternal && !authProviderDescriptor.isAuthHidden()) {
// read user's info from credentials, previously we tried to read data from external service using
// SMAuthProviderExternal#getUserDetails
var creds = loadCredentials();
Expand Down

0 comments on commit 4ec5092

Please sign in to comment.