Authentication
NetPad supports multiple authentication methods for secure access.
Authentication Methodsโ
Magic Linksโ
Passwordless email authentication:
- No Password: No password to remember
- Secure: Time-limited, single-use tokens
- Email Required: Must provide email address
How It Works:
- Enter email address
- Receive magic link email
- Click link to sign in
- Automatically signed in
Passkeys (WebAuthn)โ
Biometric and hardware key authentication:
- Biometric: Use fingerprint, face ID
- Hardware Keys: Use security keys
- Passwordless: No password needed
- Secure: FIDO2/WebAuthn standard
How It Works:
- Register passkey
- Use biometric or key to sign in
- Fast and secure authentication
OAuthโ
Sign in with third-party providers:
- Google: Sign in with Google
- GitHub: Sign in with GitHub
- More Providers: Additional providers available
How It Works:
- Click provider button
- Authorize NetPad
- Automatically signed in
Setting Up Authenticationโ
Magic Linksโ
Requires SMTP configuration:
- SMTP Host: Email server
- SMTP Port: Server port
- SMTP Credentials: Username and password
- From Email: Sender address
See Configuration for setup.
Passkeysโ
Automatic setup:
- Browser Support: Modern browsers support
- Device Support: Biometric devices
- Registration: One-time setup
OAuthโ
Requires provider setup:
- Create App: With provider (Google, GitHub)
- Get Credentials: Client ID and secret
- Configure Callback: Set callback URL
- Add to NetPad: Configure in settings
Session Managementโ
Session Durationโ
- Default: 7 days
- Configurable: Adjust in settings
- Remember Me: Extend session
Session Securityโ
- HTTP-Only Cookies: Secure cookie storage
- Secure Flag: HTTPS only
- SameSite: CSRF protection
- Encryption: Encrypted session data
Multi-Factor Authenticationโ
Enabling MFAโ
- Go to Settings: Account settings
- Enable MFA: Turn on multi-factor
- Setup Method: Configure method
- Verify: Complete setup
MFA Methodsโ
- TOTP: Time-based one-time password
- SMS: Text message codes
- Email: Email codes
- Passkeys: Hardware keys
Account Managementโ
Profile Settingsโ
- Email: Update email address
- Name: Change display name
- Avatar: Upload profile picture
- Preferences: User preferences
Security Settingsโ
- Change Password: (if using password auth)
- Manage Passkeys: Add/remove passkeys
- Connected Accounts: Manage OAuth connections
- Active Sessions: View and revoke sessions
Best Practicesโ
- Use Strong Methods: Prefer passkeys or OAuth
- Enable MFA: Add extra security layer
- Review Sessions: Regularly check active sessions
- Secure Email: Protect email account