Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

740 B
Raw Blame
<Layouts.auth heading="Single Sign-On required">
  <.auth_container>
    <div class="flex flex-col items-center gap-y-4 text-center text-base text-gray-500 dark:text-gray-400 text-pretty">
      <p>
        The owner of
        <span :if={is_nil(@conn.assigns[:current_team])}>the team</span><span
          :if={@conn.assigns[:current_team]}
          class="font-semibold"
        >"{@conn.assigns[:current_team].name}"</span>
        has turned off email and password logins, so you can only sign in with your organization's Single Sign-On.
      </p>
      <p>
        To access this team, <.styled_link href={~p"/logout"}>sign out</.styled_link>
        and sign in with SSO.
      </p>
    </div>
  </.auth_container>
</Layouts.auth>