-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
License should not be retrieved on anonymous pages #99501
Comments
Pinging @elastic/kibana-core (Team:Core) |
The logic checking if we're on an anonymous page is only here to disable the license refresh based on the We could eventually disable the initial fetching totally, but I'm a bit afraid of the implications, as even on an anonymous page, we load all the plugins. We already talked about it, but I feel like this issue is bigger than just licensing, and that most plugins should just not be loaded on most (all?) anonymous pages. |
My |
I'm torn -- given Kibana's current state, I would agree that most plugins shouldn't be loaded on most anonymous pages. However, I'd really like to get to the point where we can eliminate some of these page reloads (relies on #59377). If we can get there, then we either need these plugins to load on all pages, or ensure that all plugins are able to complete the full |
++. Note that the telemetry plugin benefits from being loaded on every page so it can send us usage data as soon as possible. Since the data is encrypted we dont care if the browser sending the data is on an anonymous page or not. |
The licensing plugin attempts to query for the current license on page load -- there is some logic in place to prevent this from happening on anonymous pages (such as the login page), but it appears to be an incomplete check. The result is a
401
response on the login page:The text was updated successfully, but these errors were encountered: