Authentication
User management and authentication in Appivo
Authentication Guide
Appivo provides complete user management out-of-the-box. Learn how to configure authentication for your applications.
Built-in User Management
Every Appivo application automatically includes:
| Feature | Description |
|---|---|
| User Registration | New user sign-up |
| Login/Logout | Session management |
| Password Encryption | Secure storage |
| Password Reset | Self-service recovery |
| Profile Management | User can update their info |
| API Key Generation | For integrations |
| Two-Factor Auth | Optional 2FA |
User Registration
How It Works
- User fills out registration form
- Appivo creates user account
- Password is encrypted automatically
- Welcome email sent (if configured)
- User can log in
Registration Configuration
Configure registration in Security Settings:
| Setting | Description |
|---|---|
| Allow Registration | Enable/disable self-signup |
| Required Fields | Which fields are mandatory |
| Email Verification | Require email confirmation |
| Default Role | Role assigned to new users |
Login and Sessions
Session Management
Appivo handles sessions automatically:
- Secure session tokens
- Automatic session expiration
- Session refresh on activity
- Multi-device support
Session Configuration
| Setting | Description | Default |
|---|---|---|
| Session Timeout | Idle timeout | 30 minutes |
| Max Sessions | Concurrent logins | Unlimited |
| Secure Cookies | HTTPS-only | Enabled |
| Remember Me | Extended sessions | Optional |
Password Management
Password Policies
Configure password requirements:
| Policy | Description |
|---|---|
| Minimum Length | Required character count |
| Complexity | Required character types |
| Expiration | Force periodic changes |
| History | Prevent reuse |
| Lockout | Failed attempt limits |
Password Reset Flow
- User requests password reset
- Email sent with reset link
- User clicks link (time-limited)
- User sets new password
- All sessions invalidated
Reset Configuration
| Setting | Description |
|---|---|
| Link Expiration | How long reset link is valid |
| Email Template | Custom reset email |
| Redirect URL | Where to go after reset |
Two-Factor Authentication
Enabling 2FA
- Navigate to Security Settings
- Enable Two-Factor Authentication
- Choose methods:
- SMS codes
- Authenticator apps
- Email codes
- Set enforcement level
2FA Settings
| Setting | Description |
|---|---|
| Optional | User can enable if desired |
| Required | All users must enable |
| Role-Based | Required for specific roles |
User Roles
Assigning Roles
Assign roles to users for access control:
- Navigate to Users
- Select a user
- Go to Roles tab
- Add or remove roles
- Save changes
Role Assignment Methods
| Method | Description |
|---|---|
| Manual | Admin assigns roles |
| Default | Automatic on registration |
| Group-Based | Inherit from groups |
| Dynamic | Based on attributes |
User Groups
Creating Groups
Organize users into groups:
- Navigate to Groups
- Click Add Group
- Name the group
- Add members
- Assign roles to group
Group Benefits
- Assign roles to many users at once
- Organize users by department/team
- Simplify permission management
- Easier bulk operations
Profile Management
User-Editable Fields
Configure which fields users can update:
| Field | User Editable |
|---|---|
| Name | Yes |
| Configurable | |
| Password | Yes |
| Photo | Yes |
| Phone | Configurable |
| Roles | No |
Profile Settings
Navigate to profile configuration:
- Go to User Interfaces
- Configure profile view
- Set editable fields
- Add validation rules
API Authentication
API Keys
Users can generate API keys for integrations:
- User goes to profile settings
- Clicks Generate API Key
- Key is displayed once
- User stores key securely
API Key Properties
| Property | Description |
|---|---|
| Name | Descriptive label |
| Permissions | What key can access |
| Expiration | Optional expiry date |
| Usage Limits | Rate limiting |
Using API Keys
Include in requests:
Authorization: Bearer YOUR_API_KEY
Single Sign-On
Supported Providers
Appivo can integrate with identity providers:
- SAML 2.0
- OAuth 2.0
- SCIM 2.0
SSO Configuration
- Navigate to Integrations
- Select Single Sign-On
- Configure your identity provider
- Map user attributes
- Test and enable
Security Best Practices
For Administrators
- Enforce strong password policies
- Enable 2FA for sensitive roles
- Review user access regularly
- Monitor login activity
- Disable inactive accounts
For Users
- Use strong, unique passwords
- Enable two-factor authentication
- Don't share credentials
- Log out on shared devices
- Review active sessions
Troubleshooting
User Can't Log In
- Verify account exists
- Check if account is locked
- Reset password if needed
- Check for 2FA issues
Session Issues
- Clear browser cookies
- Check session timeout settings
- Verify secure cookie configuration
- Test in different browser
Password Reset Not Working
- Check spam folder
- Verify email address
- Check link expiration
- Review email configuration
Next Steps
- Security Guide - Access control details
- API Integration - Using API keys
- User Interfaces - Building login screens