mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
dbeaver/pro#7912 support external oauth in te desktop (#4255)
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
This commit is contained in:
+2
-1
@@ -2395,7 +2395,8 @@ public class CBEmbeddedSecurityController<T extends ServletAuthApplication>
|
||||
}
|
||||
}
|
||||
|
||||
private SMCredentials getCurrentUserCreds() throws SMException {
|
||||
@NotNull
|
||||
protected SMCredentials getCurrentUserCreds() throws SMException {
|
||||
var currentUserCreds = credentialsProvider.getActiveUserCredentials();
|
||||
if (currentUserCreds == null) {
|
||||
throw new SMException("Unauthorized");
|
||||
|
||||
Reference in New Issue
Block a user