-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support logging out of Serverless projects. (#163154)
## Summary The Serverless MVP project experience will not include support for Single Log-out ("SLO"). This means that the cloud console and Kibana will maintain independent sessions, which must be managed separately. Due to this limitation, the user avatar menu should not feature an explicit "Logout" link, as it could mistakenly suggest that we are terminating their Elastic Session. In reality, we are only invalidating the Kibana session. This PR replace the existing "Logout" link with a "Close project" link, when in Serverless. This link will invalidate the Kibana session (similar to our current “Logout” link) and redirect the user to their Serverless projects list. ~~__Blocked by: https://github.com/elastic/kibana/issues/163379__~~ ## How to test ### Locally ```yaml xpack.cloud.id: "foo" xpack.cloud.base_url: "https://console.qa.cld.elstc.co" xpack.cloud.projects_url: "/projects" ``` ```bash yarn es snapshot --license trial yarn start --serverless ``` ### MKI ```http POST {{host}}/api/v1/serverless/projects/elasticsearch Authorization: ApiKey {{api-key}} Content-Type: application/json { "name": "xxxx", "region_id": "local-k8s", "overrides": { "kibana": { "docker_image": "docker.elastic.co/kibana-ci/kibana-serverless:pr-163154-697c0b749433-arm64" } } } ``` __Fixes: https://github.com/elastic/kibana/issues/162887__
- Loading branch information
Showing
10 changed files
with
168 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.