<sessions-account>A condensed account dashboard for embedding inside a host’s member area. Combines user details, upcoming bookings — cancellable inline, with the refund outcome stated before confirming — and active passes/memberships into a single component. Its avatar opens the same account menu as <sessions-account-menu>, whose links to Sessions open in a new tab.
Install
<script type="module" src="https://assets.sessions.website/embeds/unstable/account.js"></script>
<sessions-account
auth="<embed-scoped-jwt>"
></sessions-account>Attributes
Edit any attribute below — the snippet above and the live preview to the side rebuild in place.
auth : tokenrequiredRequired embed-scoped JWT identifying the viewer. The embed renders nothing for unauthenticated requests.
Content Security Policy
If your site sets a Content-Security-Policy, allow these origins: the embed loads its files from assets.sessions.website, calls the Sessions API on go.sessions.website, and frames sign-in and maps from embed.sessions.website.
script-src https://assets.sessions.website;
connect-src https://assets.sessions.website https://go.sessions.website;
frame-src https://embed.sessions.website;