Email and Password Authentication
The default authentication method uses email and password with bcrypt hashing (cost factor 10) for secure password storage.Sign Up
New users can create accounts through the registration page:Password Requirements
Passwords are hashed using bcrypt with industry-standard security settings. While there are no enforced complexity requirements at the authentication layer, we recommend:- Minimum 12 characters
- Mix of uppercase and lowercase letters
- At least one number
- At least one special character
Password Reset
If you forget your password:Two-Factor Authentication (2FA)
Two-factor authentication adds an extra layer of security by requiring a time-based one-time password (TOTP) in addition to your regular password.Enabling 2FA
Enable Two-Factor Authentication
Click “Enable 2FA” and scan the QR code with your authenticator app (Google Authenticator, Authy, 1Password, etc.).
Save Backup Codes
Store your backup codes in a secure location. You’ll need these if you lose access to your authenticator app.
Email-Based OTP
In addition to TOTP codes from authenticator apps, StellarStack can send one-time passwords via email. This provides a fallback authentication method or can be used as the primary 2FA method. When you log in with 2FA enabled, you’ll receive an email with a verification code. Enter this code to complete the login process.Disabling 2FA
To disable two-factor authentication:- Go to account settings
- Enter your password to confirm
- Click “Disable 2FA”
You’ll need to enter a current 2FA code or use a backup code to disable 2FA.
Passkeys (WebAuthn)
Passkeys provide passwordless authentication using biometrics, security keys, or device authentication. This is the most secure and convenient authentication method.What Are Passkeys?
Passkeys use public-key cryptography and are:- Phishing-resistant - Only work on your registered domain
- Device-bound - Private keys never leave your device
- Convenient - Use Face ID, Touch ID, Windows Hello, or hardware keys
- Fast - Login in seconds without typing passwords
Registering a Passkey
Authenticate
Follow your device’s prompts to create the passkey:
- Mobile: Use Face ID or fingerprint
- Desktop: Use Windows Hello, Touch ID, or a security key
- Hardware Key: Insert and tap your YubiKey or other FIDO2 device
Using Passkeys to Log In
- Go to the login page
- Click “Sign in with Passkey”
- Select your device or security key
- Authenticate using your biometric or PIN
Managing Passkeys
You can register multiple passkeys for different devices:- Primary device - Your main computer or phone
- Backup device - Secondary phone or tablet
- Hardware key - YubiKey or other FIDO2 security key
- Go to security settings
- Find the passkey in your list
- Click “Remove” and confirm
Passkey Configuration
Passkeys require proper configuration in your environment variables:Session Management
Sessions are managed securely with the following features:Session Duration
- Sessions remain active for a configurable period (default: 7 days)
- Sessions automatically expire after inactivity
- You can manually log out to end your session immediately
Active Sessions
View all active sessions in your account settings:- Device type and browser information
- IP address and approximate location
- Last activity timestamp
Revoking Sessions
You can revoke individual sessions or log out from all devices:- Go to account settings
- Navigate to “Active Sessions”
- Click “Revoke” next to any session
- Or click “Revoke All Sessions” to log out everywhere
Security Best Practices
Use Strong, Unique Passwords
Use Strong, Unique Passwords
Never reuse passwords across services. Use a password manager to generate and store unique passwords for each account.
Enable Two-Factor Authentication
Enable Two-Factor Authentication
2FA prevents unauthorized access even if your password is compromised. Enable it on your StellarStack account and any OAuth providers you use.
Register Multiple Passkeys
Register Multiple Passkeys
Don’t rely on a single device. Register passkeys on at least two devices or include a hardware security key as a backup.
Review Active Sessions Regularly
Review Active Sessions Regularly
Check your active sessions monthly and revoke any you don’t recognize. This helps detect unauthorized access early.
Keep Backup Codes Secure
Keep Backup Codes Secure
Store 2FA backup codes in a secure location like a password manager or encrypted file. Don’t store them in plain text on your computer.
Use OAuth for Convenience
Use OAuth for Convenience
OAuth providers like Google and GitHub offer strong security with minimal effort. They handle 2FA and security monitoring for you.
Account Security Features
Email Verification
In production environments, email verification is required before accessing the panel. This ensures:- The email address is valid and accessible
- You can receive security notifications
- Password reset functionality works correctly
Account Lockout
After multiple failed login attempts, accounts are temporarily locked to prevent brute-force attacks. Contact your administrator if your account is locked.Security Notifications
You’ll receive email notifications for important security events:- New device login
- Password changes
- 2FA enabled or disabled
- Passkey added or removed
Security notifications help you detect unauthorized access. Never ignore them - if you receive a notification for an action you didn’t take, immediately change your password and enable 2FA.
Troubleshooting
I can't receive verification emails
I can't receive verification emails
Check your spam folder. If you still don’t see the email, verify that your email server configuration is correct in the API environment variables.
My 2FA codes don't work
My 2FA codes don't work
Ensure your device’s clock is synchronized. TOTP codes are time-based and require accurate system time. Try using a backup code if available.
Passkey registration fails
Passkey registration fails
Verify that:
- Your browser supports WebAuthn (Chrome, Firefox, Safari, Edge)
- PASSKEY_RP_ID matches your domain exactly
- You’re accessing the panel over HTTPS (required for WebAuthn)
I lost my 2FA device and backup codes
I lost my 2FA device and backup codes
Contact your StellarStack administrator to disable 2FA on your account. They can reset your authentication settings.