Authentication Overview
User authentication, account access, and password management in the Partners application
Overview
The Partners application uses a secure authentication system to protect user data and ensure only authorized personnel can access partner information. This section covers the complete authentication flow including login, account activation, and password management.
Authentication Methods
The application supports the following authentication workflows:
Email and Password Login
Standard authentication for existing users:
- Enter registered email address
- Enter password
- Optional "Remember Me" for extended sessions
- Secure session management
- Automatic redirect to dashboard
Use Case: Daily login for staff members who already have active accounts.
Accept Invitation (New Users)
Invitation-based account activation for new team members:
- Receive email invitation from administrator
- Click secure invitation link
- Set initial password
- Account automatically activated
- Immediate access granted
Use Case: Onboarding new staff members to the Partners application.
Password Reset
Self-service password recovery:
- Request magic link via email
- Click secure link in email
- Set new password
- Automatic sign-in
Use Case: Users who forgot their password or need to change it for security reasons.
Key Features
Secure Authentication
Password Requirements:
- Minimum 8 characters
- At least one uppercase letter
- At least one lowercase letter
- At least one number
- Password strength indicator
Security Measures:
- Encrypted password storage
- Secure session tokens
- HTTPS-only transmission
- Token expiration (1 hour for password reset)
- Protection against brute force attacks
Session Management
Remember Me Option:
- Extended session duration
- Automatic re-login on return visits
- Secure token storage
Session Security:
- Automatic timeout after inactivity
- Secure logout functionality
- Session validation on each request
User-Friendly Experience
Password Visibility Toggle:
- Eye icon to show/hide password
- Helps prevent typos
- Maintains security
Error Handling:
- Clear error messages
- Helpful guidance
- No sensitive information leaked
Loading States:
- Visual feedback during authentication
- Prevents duplicate submissions
- Professional user experience
Authentication Flow
Standard Login Flow
- User navigates to login page
- Enters email and password
- Optionally checks "Remember Me"
- Clicks "Sign In" button
- System validates credentials
- On success: Redirects to dashboard
- On failure: Shows error message
Invitation Acceptance Flow
- Administrator sends invitation email
- User receives email with secure link
- User clicks invitation link
- System verifies token validity
- User sees welcome screen with account details
- User sets password (with strength indicator)
- User confirms password
- System activates account
- User automatically logged in
- Redirects to dashboard
Password Reset Flow
- User clicks "Forgot Password" on login page
- Enters email address
- System sends magic link email
- User receives email
- User clicks secure link
- System validates token
- User sets new password
- User confirms new password
- System updates password
- Success message displayed
- Automatic redirect to login
Security Best Practices
For Users
Password Security:
- Use unique, strong passwords
- Don't share passwords with anyone
- Change password if compromised
- Enable "Remember Me" only on personal devices
Account Security:
- Log out when finished
- Don't save passwords in browsers on shared computers
- Report suspicious activity immediately
- Keep email account secure (password reset link sent there)
Invitation Links:
- Use invitation link within 24 hours
- Don't share invitation links
- Verify email sender before clicking links
For Administrators
User Management:
- Only invite authorized personnel
- Revoke access when staff leaves
- Monitor failed login attempts
- Regular security audits
Invitation Process:
- Verify email addresses before sending invitations
- Use secure channels to communicate
- Set appropriate roles and permissions
- Track invitation status
Common Authentication Scenarios
First-Time User
- Receive Invitation: Administrator sends invitation email
- Access Link: Click invitation link from email
- Review Details: Verify name, email, and role
- Set Password: Create strong password
- Activate Account: Click "Activate Account"
- Start Using: Immediately access Partners application
Daily Staff Member
- Navigate to Login: Go to partners.rhema.app/auth/login
- Enter Credentials: Email and password
- Check Remember Me: Optional for convenience
- Sign In: Click button to access dashboard
- Work: Access partner information
- Sign Out: Log out when finished
Forgotten Password
- Attempt Login: Try to sign in but forgot password
- Click Link: "Forgot your Password?" link
- Enter Email: Provide registered email address
- Check Email: Look for magic link email
- Click Link: Open link from email
- Set Password: Create new password
- Confirm: Re-enter new password
- Complete: Automatic sign-in
Compromised Account
- Detect Issue: Notice suspicious activity
- Report: Contact administrator immediately
- Reset Password: Use password reset flow
- Update Password: Create new, unique password
- Verify: Check account activity
- Monitor: Watch for further suspicious activity
Troubleshooting
Cannot Login
Possible Causes:
- Incorrect email or password
- Account not yet activated
- Account suspended
- Browser issues (cookies, cache)
Solutions:
- Verify email address (check spelling)
- Verify password (check caps lock)
- Check for invitation email if new user
- Use password reset if forgotten
- Clear browser cache and cookies
- Try different browser
- Contact administrator if still unable to login
Invitation Link Not Working
Possible Causes:
- Link expired (older than 24 hours)
- Link already used
- Invalid token
- Email client modified link
Solutions:
- Check email date (recent invitation?)
- Request new invitation from administrator
- Copy full link (don't click truncated version)
- Try different browser
- Contact administrator for new invitation
Password Reset Email Not Received
Possible Causes:
- Email in spam folder
- Wrong email address entered
- Email delivery delay
- Email server issues
Solutions:
- Check spam/junk folder
- Verify email address spelling
- Wait 5-10 minutes for delivery
- Try again with correct email
- Contact administrator if persistent issue
Password Requirements Not Met
Possible Causes:
- Password too short (less than 8 characters)
- Missing uppercase letter
- Missing lowercase letter
- Missing number
- Password too weak
Solutions:
- Use at least 8 characters
- Include uppercase letter (A-Z)
- Include lowercase letter (a-z)
- Include number (0-9)
- Consider adding special character for strength
- Check password strength indicator
- Use password manager to generate strong password
Related Topics
- Backend - User Management - Managing user accounts and access
- Backend - RBAC - Role-based access control
- Settings - Campus Assignment - Assigning users to campuses
Next Steps
Ready to get started? Choose your scenario:
- New User - Set up your account from invitation
- Existing User - Sign in to your account
- Forgot Password - Reset your password
- Admin - Manage user accounts and invitations