Casdoor Authenticator App is a cross-platform application for iOS, Android, and Web that provides multi-factor authentication using the TOTP protocol. This app helps secure user accounts by generating time-based one-time passwords (TOTP). The app is developed using React Native with Expo.
- Multi-platform support (iOS/Android/Web)
- TOTP-based multi-factor authentication
- Account synchronization with Casdoor
- Web deployment via GitHub Pages
- Integration with Casdoor's central service and desktop client
git clone https://github.com/casdoor/casdoor-authenticator
cd casdoor-authenticator
npm install && npm run start
You can use the Casdoor Authenticator App in multiple ways:
- Web: Access the web version at https://casdoor.github.io/casdoor-authenticator (automatically deployed from master branch)
- Android: Download and install the APK file directly on your device from the GitHub Releases page
If you prefer to build the app yourself, follow these steps:
git clone https://github.com/casdoor/casdoor-authenticator
cd casdoor-authenticator
npm install
npm install && npx expo prebuild --platform android
cd android && ./gradlew assembleRelease
The APK file in the app/build/outputs/apk/release/
directory.
npm install
npm run export:web
The web build will be output to the dist/
directory.
Note: You'll need to have the necessary development environments set up for React Native, Android. Refer to the React Native documentation for detailed setup instructions.
- Open the app on your mobile device.
- Scan QR codes to add accounts and generate TOTP codes for login.
- Log in to your accounts for synchronization with Casdoor.
This project is licensed under the Apache-2.0 License. See the LICENSE file for details.