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
| Name | Type | Required | Description |
|---|---|---|---|
auth | token | — | Optional embed-scoped JWT. When omitted, the element renders the sign-in button instead of the user details. |
Try attributes
Edit attributes — the live preview to the side rebuilds in place.