---
title: '@svartz/auth/browser'
description: The `@svartz/auth/browser` entry point.
updated_at: '2026-11-19T21:17:45+01:00'
---

# @svartz/auth/browser

## Interfaces

- [SignInConfig](https://svartz.dev/reference/api/auth/browser/signinconfig.md) — What the dialog needs from the vault's `auth` config.
- [SignInProvider](https://svartz.dev/reference/api/auth/browser/signinprovider.md)

## Functions

- [mount](https://svartz.dev/reference/api/auth/browser/mount.md) — Browser script entry: remember the vault's config, open the dialog from `data-svartz-sign-in` elements, and link a signed-in reader to their account and the dashboard. The build doesn't know a host app's `paths.base`, so the routes get the deployment base here, from `context`.
- [openSignIn](https://svartz.dev/reference/api/auth/browser/opensignin.md) — Open the sign-in dialog. Each provider starts sign-in and comes back to `returnTo`, by default this page. Throws until the `auth` plugin's script has mounted, which happens on every page of a vault that enables it.
- [reputationBadge](https://svartz.dev/reference/api/auth/browser/reputationbadge.md) — An account's reputation as a badge to follow its name, as `reputationBadgeHtml` renders it on the server.
