You can now use your Nostr identity to log into websites — no email, no password required.
This method is called NAWC, short for Nostr Auth with Capability. It’s a way for websites to verify you are you by asking your Nostr client or extension to cryptographically sign a message — just like making a post or a zap.
With NAWC, your npub
(public key) becomes your universal login.
To log into sites using NAWC, you’ll need one of the following Nostr signing tools:
Tool | Type | Notes |
---|---|---|
Alby | Browser extension | Popular, integrates with Lightning & Nostr |
Nos2x | Browser extension | Lightweight Nostr signer for logins |
NsecBunker | Remote signer | Great for mobile or secure setups |
These tools manage your keys securely and let you sign login requests without copying/pasting anything.
nsec
Into Sites or AppsYour nsec
is your private key — it controls your Nostr identity. Anyone who has it can post, zap, or impersonate you.
nsec
is risky because:nsec
sInstead, always use a signing extension like Alby, Nos2x, or a remote signer like NsecBunker. These tools sign messages without exposing your private key to any site.
🔐 Rule of thumb: If a site asks you to paste your
nsec
, don’t trust it.
npub
)No passwords. No accounts. Just one identity you own across the web.
nsec
s (Switching Identities)You can log into websites using different Nostr accounts if you want to keep certain activities or identities separate.
How to switch depends on the signing tool:
nsec
Tip: Back up each
nsec
before switching!
nsec
Just remember: each identity is completely separate — followers, notes, zaps won’t carry over unless you migrate them manually.
Yes — as long as you protect your private key. Signing tools like Alby or Nos2x never expose your key to websites — they just verify your identity on your behalf.
Always check the site before signing anything. If in doubt, don’t sign.
More sites are adding support for Nostr login every week.
Yes, but you’ll likely need a mobile-compatible signer like NsecBunker or a browser extension that works on mobile (if available).
You won’t be able to log into sites using that Nostr identity anymore — this is why backing up your nsec
is critical.
Only if they have your private key (nsec
). Never share it. Use password managers or trusted extensions to manage it safely.
This is one more step toward a decentralized internet where you own your identity.