Skip to content
User
<sessions-user>

A small visual element — typically placed in a header — that reflects whether the viewer is signed in via the embed-scoped auth flow. When the auth token is omitted or invalid, the element exposes a sign-in button that opens the business-pinned passkey ceremony.

Install

<script type="module" src="https://go.sessions.website/embeds/unstable/user.js"></script>
<sessions-user></sessions-user>

Attributes

Edit any attribute below — the snippet above and the live preview to the side rebuild in place.

auth : token

Optional embed-scoped JWT. When omitted, the element renders the sign-in button instead of the user details.