Go to file
IZUMI-Zu 7f87a3bf34
feat: use "drizzle-orm/expo-sqlite" as DB (#21)
2024-08-22 08:42:53 +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
db feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
drizzle feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +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
App.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
AvatarWithFallback.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
CasdoorLoginPage.js feat: add secret check (#20) 2024-08-17 23:22:44 +08:00
DefaultCasdoorSdkConfig.js feat: add casdoor web login. (#6) 2023-09-27 20:58:04 +08:00
EditAccountDetails.js feat: add support for persist storage (#19) 2024-08-10 17:29:51 +08:00
EnterAccountDetails.js feat: add secret check (#20) 2024-08-17 23:22:44 +08:00
EnterCasdoorSdkConfig.js feat: add secret check (#20) 2024-08-17 23:22:44 +08:00
Header.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
HomePage.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +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 secret check (#20) 2024-08-17 23:22:44 +08:00
SearchBar.js feat: add support for persist storage (#19) 2024-08-10 17:29:51 +08:00
SettingPage.js feat: add secret check (#20) 2024-08-17 23:22:44 +08:00
api.js feat: add cloud sync (#9) 2024-07-28 16:36:03 +08:00
app.json chore(release): 1.3.0 [skip ci] 2024-08-17 15:37:35 +00:00
babel.config.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
drizzle.config.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
eas.json feat: add preview ci (#11) 2024-07-31 21:55:36 +08:00
metro.config.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
package-lock.json feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
package.json feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
syncLogic.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
totpUtil.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
useAccountStore.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
useStorage.js feat: add support for persist storage (#19) 2024-08-10 17:29:51 +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.