◈ PasskeyBaseGO QUICKSTART
YOUR USERS · YOUR APP · AN EXTRA WAY IN

Your account.
Your choice.

This Go app owns its accounts and passwords. Add a hosted passkey to the same account when you're ready.

{{if .SignedIn}}YOUR LOCAL ACCOUNT

Welcome{{if .Session.Profile.Name}}, {{.Session.Profile.Name}}{{end}}.

Application user ID
{{.Session.Profile.Subject}}
Email (local login identifier)
{{.Session.Profile.Email}}
{{if .Linked}}

Passkeys are linked to this account. Add one for each device or security key you use.

{{else}}

Add a passkey to this existing account. No second account or password is needed.

{{end}}{{if .Linked}}

Your passkeys

  • Loading your passkeys…
{{end}}
{{if .HasPassword}}{{end}}

Confirm your password again
{{else}}SIGN IN TO THE APPLICATION

Welcome back.

Or with a passkey

Use a passkey in this tab →
Create your application account

Use 12–72 bytes. Passwords are hashed and stored by this app.

{{end}}
BUILD IT YOURSELF

Local accounts. Hosted passkeys.

  1. Create a local account with this application's email and password form.
  2. Choose Add a passkey. The backend authorizes enrollment for your immutable local user ID.
  3. The app links the confirmed issuer and subject. Both login methods establish the same local session.

The hosted enrollment pilot must be enabled for your tenant. If it is unavailable, the app tells you and password login keeps working.

cd passkeybase/quickstarts/go
go run .

Source: passkeybase/quickstarts/go/README.md