Zum Hauptinhalt springen

Casdoor authenticator app

Casdoor Authenticator (app.casdoor.org) is an open-source TOTP app (GitHub) similar to Google Authenticator or Microsoft Authenticator. It provides MFA with time-based one-time passwords (TOTP) on iOS and Android and can sync accounts with Casdoor.

Features

  • MFA — Generate TOTP codes for 2FA.
  • Offline — Codes work without internet.
  • Sync — Accounts sync across devices via Casdoor.
  • Privacy — Data encrypted and stored securely.
  • UI — Simple, intuitive interface.
AndroidiOS
androidios

What is TOTP?

TOTP (Time-based One-Time Password) is a standard 2FA method. Codes are generated from a shared secret and the current time (RFC 6238): they change every 30 seconds, work offline, and are widely supported.

Using the app

Step 0: Install

Step 1: Enable MFA account storage (optional)

To store TOTP accounts in Casdoor, enable the MFA accounts setting on the Casdoor server.

Mfa account setting

Step 2: Connect to Casdoor

After installing the app (and enabling MFA accounts if you use sync), connect in one of these ways:

MethodSteps
ManualTap Enter Server Manually, enter server URL, client ID, and organization name, then sign in.
QR codeTap Scan QR Code, scan the QR from My AccountMFA accounts on the Casdoor server.
DemoTap Try Demo Server to use the preconfigured demo instance.

Login

You can then view TOTP codes and manage 2FA accounts in the app.

Migration from other authenticators

From Google Authenticator

In Google Authenticator: MenuTransfer accounts → select accounts → Export (QR code). In Casdoor Authenticator, scan that QR to import.

Export TOTP data Import TOTP data from Google Authenticator

From Microsoft Authenticator (Android, root required)

  1. On the device with Microsoft Authenticator, the app data is under /data/data/com.azure.authenticator/databases/. Root access is required to read it.
  2. Copy the PhoneFactor database file.
  3. In Casdoor Authenticator: import → Import from Microsoft Authenticator → select the PhoneFactor file.
  4. The app imports the TOTP accounts.

Import TOTP data from Microsoft Authenticator