Go to file
IZUMI-Zu c48f25c596
feat: update app name and icon (#18)
2024-08-10 17:03:30 +08:00
.github feat: add semantic release (#17) 2024-08-04 22:41:27 +08:00
assets feat: update app name and icon (#18) 2024-08-10 17:03:30 +08:00
.eslintignore feat: add QRCode scan feature (#3) 2023-09-13 00:20:43 +08:00
.eslintrc feat: add QRCode scan feature (#3) 2023-09-13 00:20:43 +08:00
.gitignore Initial commit 2023-09-03 00:55:46 +08:00
Account.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
App.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
AvatarWithFallback.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
CasdoorLoginPage.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
CasdoorServerContext.js feat: add casdoor web login. (#6) 2023-09-27 20:58:04 +08:00
DefaultCasdoorSdkConfig.js feat: add casdoor web login. (#6) 2023-09-27 20:58:04 +08:00
EditAccountDetails.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
EnterAccountDetails.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
EnterCasdoorSdkConfig.js feat: add casdoor web login. (#6) 2023-09-27 20:58:04 +08:00
Header.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
HomePage.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
LICENSE Initial commit 2023-09-03 00:55:46 +08:00
NavigationBar.js feat: add item edit and delete features, add item logo (#4) 2023-09-18 22:40:56 +08:00
README.md feat: update app name and icon (#18) 2024-08-10 17:03:30 +08:00
ScanQRCode.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
SearchBar.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
SettingPage.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
UserContext.js feat: add casdoor web login. (#6) 2023-09-27 20:58:04 +08:00
api.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
app.json feat: update app name and icon (#18) 2024-08-10 17:03:30 +08:00
babel.config.js feat: add QRCode scan feature (#3) 2023-09-13 00:20:43 +08:00
eas.json feat: add preview ci (#11) 2024-07-31 21:55:36 +08:00
package-lock.json feat: add semantic release (#17) 2024-08-04 22:41:27 +08:00
package.json feat: add semantic release (#17) 2024-08-04 22:41:27 +08:00
useSync.js feat: update dependencies and useNetInfo for network status (#16) 2024-08-02 18:53:49 +08:00

README.md

Casdoor Authenticator App

GitHub Actions Release GitHub issues GitHub forks License Discord

Casdoor Authenticator App is a mobile application for iOS and Android 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 the React Native framework.

Features

  • Multi-platform support (iOS/Android)
  • TOTP-based multi-factor authentication
  • Account synchronization with Casdoor
  • Integration with Casdoor's central service and desktop client

Quick Start

git clone git@github.com:casdoor/casdoor-app.git
cd casdoor-app
npm install && npm run start

Installation

You can download the latest version of the Casdoor Authenticator App from the GitHub Releases page.

  • Android: Download and install the APK file directly on your device.

Building from Source

If you prefer to build the app yourself, follow these steps:

Common Steps

git clone git@github.com:casdoor/casdoor-app.git
cd casdoor-app
npm install

android build

npm install && npx expo prebuild --platform android
cd android && ./gradlew assembleRelease

The APK file in the app/build/outputs/apk/release/ 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.

Usage

  • 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.

License

This project is licensed under the Apache-2.0 License. See the LICENSE file for details.