Authentication¶
Vigil offers multiple authentication methods for flexibility and security.
Available Methods¶
Email + Password¶
Traditional authentication with email and password.
Setup: 1. Register with email address 2. Create strong password 3. Verify email 4. Log in with credentials
Pros: - Familiar - Works everywhere - Easy password recovery
Cons: - Vulnerable to phishing - Password can be stolen - Requires remembering password
Recommendation: Upgrade to passkeys for better security
Nostr Authentication¶
Log in using your Nostr identity (NIP-07).
Requirements: - Nostr public/private key pair - NIP-07 browser extension (Alby, nos2x, etc.)
Setup: 1. Click "Sign in with Nostr" 2. Approve signature request in extension 3. Account created/logged in
Pros: - No password needed - Sovereign identity - Privacy-focused
Cons: - Requires browser extension - Less familiar to newcomers
Passkeys (WebAuthn)¶
Modern, phishing-resistant authentication.
Setup: 1. Register passkey during sign-up or in settings 2. Use biometrics or security key 3. Log in with passkey
Pros: - Phishing-resistant - No passwords - Biometric or hardware-based - Industry standard
Cons: - Requires compatible device - Newer technology
Multi-Factor Authentication (MFA)¶
Add extra security to email+password accounts:
Passkey as Second Factor¶
- Log in with email+password
- Confirm with passkey
- Access granted
Recovery Codes¶
Backup authentication method if you lose primary access.
Recommended Setup¶
Maximum Security¶
Balanced¶
Simple¶
Switching Authentication Methods¶
Adding Nostr Login¶
- Go to Account → Security
- Click Link Nostr Identity
- Sign with NIP-07 extension
- Nostr login now available
Adding Passkey¶
- Go to Account → Security → Passkeys
- Click Add Passkey
- Follow device prompts
- Passkey registered
Removing Methods¶
- Can't remove all methods (must have at least one)
- Generate recovery codes before removing last method
Session Management¶
Active Sessions¶
View and manage logged-in sessions:
- Go to Account → Security → Sessions
- See all active sessions
- Revoke suspicious sessions
Session Timeout¶
| Activity | Timeout |
|---|---|
| Active use | No timeout |
| Inactive | 30 days |
| "Remember me" | 90 days |
Account Recovery¶
Forgot Password¶
- Click "Forgot Password" on login
- Enter email address
- Check email for reset link
- Create new password
Lost Passkey¶
Use recovery codes or another authentication method to log in, then register new passkey.
Compromised Account¶
If you suspect your account is compromised:
- Change password immediately
- Revoke all sessions
- Generate new recovery codes
- Review account activity
- Contact support if needed
Next: Passkeys →