Skip to content

Commit 321d45b

Browse files
dbeaver/pro#7912 support external oauth in te desktop (#4255)
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
1 parent 0f33fb5 commit 321d45b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

server/bundles/io.cloudbeaver.service.security/src/io/cloudbeaver/service/security/CBEmbeddedSecurityController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2395,7 +2395,8 @@ private void invalidateAllUserTokens(@NotNull String userId) throws DBCException
23952395
}
23962396
}
23972397

2398-
private SMCredentials getCurrentUserCreds() throws SMException {
2398+
@NotNull
2399+
protected SMCredentials getCurrentUserCreds() throws SMException {
23992400
var currentUserCreds = credentialsProvider.getActiveUserCredentials();
24002401
if (currentUserCreds == null) {
24012402
throw new SMException("Unauthorized");

0 commit comments

Comments
 (0)