mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[BeatsCM] return null for no user authentication in a request (#27342)
This commit is contained in:
parent
ccfa8a3530
commit
b1b5d623cf
1 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,9 @@ export class KibanaBackendFrameworkAdapter implements BackendFrameworkAdapter {
|
|||
} catch (e) {
|
||||
return null;
|
||||
}
|
||||
if (user === null) {
|
||||
return null;
|
||||
}
|
||||
const assertKibanaUser = RuntimeKibanaUser.decode(user);
|
||||
if (assertKibanaUser.isLeft()) {
|
||||
throw new Error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue