Security

Set up TOTP-based two-factor authentication for Authority users.

Overview

Authority supports Time-based One-Time Passwords (TOTP) for MFA. Users can use apps like:

  • Google Authenticator

  • Authy

  • 1Password

  • Microsoft Authenticator

MFA Flow

spinner

User Setup

Step 1: Navigate to Profile

  1. Log in to Authority

  2. Click your profile name

  3. Select Security Settings

Step 2: Enable MFA

  1. Click Enable Two-Factor Authentication

  2. Authority displays a QR code

MFA Setup

Step 3: Scan QR Code

  1. Open your authenticator app

  2. Tap Add Account or +

  3. Scan the QR code

Step 4: Verify Setup

  1. Enter the 6-digit code from your app

  2. Click Verify

  3. Save your backup codes in a secure location

Backup Codes

When MFA is enabled, Authority generates 10 one-time backup codes. Store these securely - they can be used if you lose access to your authenticator app.

Example backup codes:

Each code can only be used once.

Admin Configuration

Require MFA for Admins

Enforce MFA for all administrator accounts:

Require MFA for All Users

Force MFA enrollment for all users:

MFA Grace Period

Allow users time to set up MFA:

Disabling MFA

User Self-Service

Users can disable MFA from their profile if allowed:

  1. Navigate to Security Settings

  2. Click Disable Two-Factor Authentication

  3. Enter current TOTP code to confirm

Admin Override

Administrators can disable MFA for users:

  1. Go to Admin DashboardUsers

  2. Select the user

  3. Click Disable MFA

This is useful when a user loses access to their authenticator.

API Integration

Check MFA Status

Response:

Require MFA in Authorization

During OAuth authorization, check if MFA is required:

Recovery

Lost Authenticator

If a user loses their phone:

  1. Use a backup code to log in

  2. Disable MFA

  3. Set up MFA again with new device

Lost Backup Codes

If a user loses both authenticator and backup codes:

  1. Admin disables MFA for the user

  2. User logs in with password only

  3. User sets up MFA again

  4. User saves new backup codes

Security Considerations

circle-exclamation

Troubleshooting

Invalid TOTP Code

  • Verify device time is synchronized

  • Ensure you're using the correct account in the authenticator

  • Wait for the next code cycle (30 seconds)

QR Code Won't Scan

  • Use the manual entry option

  • Enter the secret key directly into your authenticator

Locked Out

  • Use a backup code

  • Contact administrator to disable MFA

Next Steps

Last updated

Was this helpful?