diff --git a/lib/livebook/teams/requests.ex b/lib/livebook/teams/requests.ex index 04631b4ca..4dfe77ac8 100644 --- a/lib/livebook/teams/requests.ex +++ b/lib/livebook/teams/requests.ex @@ -244,7 +244,7 @@ defmodule Livebook.Teams.Requests do @spec logout_identity_provider(Team.t(), String.t()) :: {:ok, String.t()} | {:error, map() | String.t()} | {:transport_error, String.t()} def logout_identity_provider(team, access_token) do - delete("/api/v1/org/identity/logout", %{access_token: access_token}, team) + post("/api/v1/org/identity/revoke", %{access_token: access_token}, team) end @doc """ diff --git a/lib/livebook_web/components/layout_components.ex b/lib/livebook_web/components/layout_components.ex index d33fc1335..c403ccfc5 100644 --- a/lib/livebook_web/components/layout_components.ex +++ b/lib/livebook_web/components/layout_components.ex @@ -126,6 +126,20 @@ defmodule LivebookWeb.LayoutComponents do Shut Down +