mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-04 14:43:11 +00:00
- added log (#15777)
This commit is contained in:
parent
feb33a0cc2
commit
b38b7e3231
@ -371,6 +371,12 @@ public final class SecurityUtil {
|
|||||||
if (credentials != null && credentials.getRefreshToken() != null) {
|
if (credentials != null && credentials.getRefreshToken() != null) {
|
||||||
removeOrRenewOidcCredentials(request, client, credentials);
|
removeOrRenewOidcCredentials(request, client, credentials);
|
||||||
return Optional.of(credentials);
|
return Optional.of(credentials);
|
||||||
|
} else {
|
||||||
|
if (credentials == null) {
|
||||||
|
LOG.error("No credentials found against session. ID: {}", request.getSession().getId());
|
||||||
|
} else {
|
||||||
|
LOG.error("No refresh token found against session. ID: {}", request.getSession().getId());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return Optional.empty();
|
return Optional.empty();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user