Go to file
semantic-release-bot c593330a21 chore(release): 1.11.0 [skip ci] 2024-10-27 02:55:48 +00: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
google feat: support `Google Authenticator` migration (#23) 2024-08-31 21:32:44 +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: fix new user null bug and text input bug (#31) 2024-10-27 10:39:19 +08:00
AvatarWithFallback.js feat: fix bug in icons (#29) 2024-09-29 17:25:40 +08:00
CasdoorLoginPage.js feat: fix new user null bug and text input bug (#31) 2024-10-27 10:39:19 +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: can scan Casdoor QR code to login (#27) 2024-09-22 23:06:20 +08:00
EnterCasdoorSdkConfig.js feat: fix new user null bug and text input bug (#31) 2024-10-27 10:39:19 +08:00
Header.js feat: fix new user null bug and text input bug (#31) 2024-10-27 10:39:19 +08:00
HomePage.js feat: support importing entried from other authenticators (#30) 2024-10-10 23:10:27 +08:00
ImportManager.js feat: support importing entried from other authenticators (#30) 2024-10-10 23:10:27 +08:00
LICENSE Initial commit 2023-09-03 00:55:46 +08:00
LoginMethodSelector.js feat: improve login logic (#28) 2024-09-27 08:12:33 +08:00
MSAuthImportLogic.js feat: support importing entried from other authenticators (#30) 2024-10-10 23:10:27 +08:00
NavigationBar.js feat: add item edit and delete features, add item logo (#4) 2023-09-18 22:40:56 +08:00
QRScanner.js feat: support login using QR code (#26) 2024-09-08 23:43:34 +08:00
README.md feat: update app name and icon (#18) 2024-08-10 17:03:30 +08:00
ScanLogin.js feat: can scan Casdoor QR code to login (#27) 2024-09-22 23:06:20 +08:00
ScanQRCode.js feat: support login using QR code (#26) 2024-09-08 23:43:34 +08:00
SearchBar.js feat: can scan Casdoor QR code to login (#27) 2024-09-22 23:06:20 +08:00
SettingPage.js feat: improve login logic (#28) 2024-09-27 08:12:33 +08:00
api.js feat: fix new user null bug and text input bug (#31) 2024-10-27 10:39:19 +08:00
app.json chore(release): 1.11.0 [skip ci] 2024-10-27 02:55:48 +00:00
babel.config.js feat: can scan Casdoor QR code to login (#27) 2024-09-22 23:06:20 +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: support `Google Authenticator` migration (#23) 2024-08-31 21:32:44 +08:00
package-lock.json feat: fix new user null bug and text input bug (#31) 2024-10-27 10:39:19 +08:00
package.json feat: fix new user null bug and text input bug (#31) 2024-10-27 10:39:19 +08:00
syncLogic.js feat: improve login logic (#28) 2024-09-27 08:12:33 +08:00
totpUtil.js feat: use "drizzle-orm/expo-sqlite" as DB (#21) 2024-08-22 08:42:53 +08:00
useAccountStore.js feat: support importing entried from other authenticators (#30) 2024-10-10 23:10:27 +08:00
useProtobufDecoder.js feat: support `Google Authenticator` migration (#23) 2024-08-31 21:32:44 +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.