Skip to content

Commit

Permalink
CB-6044 do not save api token on auth (#3138)
Browse files Browse the repository at this point in the history
Co-authored-by: Daria Marutkina <[email protected]>
  • Loading branch information
yagudin10 and dariamarutkina authored Dec 17, 2024
1 parent 8d0b0e1 commit 7f13f70
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 7f13f70

Please sign in to comment.