Skip to content

pegma-dev/identity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Identity

License: MIT

First-party identity for Pegma hosts: passkeys-first, email-code fallback, no passwords — user records in your own storage, no external provider.

Important

Identity is in early planning. Nothing is built or published, and implementation is deliberately queued behind the components it composes (sessions, rate-limit, mail). See docs/PROJECT_PLAN.md.

What it is — and refuses to be

It answers one question: who is this, and how do they prove it? Account creation, passkey sign-in, email one-time codes for enrollment/fallback/ recovery, email change — issuing verified identity claims the host turns into a session (@pegma/sessions) and links into @pegma/authorization-core through a deliberately tiny adapter.

Refused, loudly:

  • Passwords. Not a phase — a refusal. No password table, no reset flow, no breach class. Passkeys are phishing-resistant and breach-inert; an emailed code covers everything else.
  • Being an OIDC/OAuth2 server for third parties. That is a product with a standards surface, not a component.
  • Social login. External providers exist for that; issuer-namespaced identity links already let a host run both side by side.
  • MFA beyond passkey + email, profiles, admin UIs, org management.

One honest admission, stated rather than buried: an account recoverable by emailed code is exactly as secure as the mailbox behind it. Every consumer service works this way; almost none say it. We say it.

License

MIT © RetireGolden, LLC

About

First-party identity for Pegma hosts: passkeys-first, email-code fallback, no passwords - user records over storage-core, no external provider.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors