Home
Softono
casdoor-authenticator

casdoor-authenticator

Open source Apache-2.0 JavaScript
36
Stars
12
Forks
3
Issues
3
Watchers
8 months
Last Commit

About casdoor-authenticator

Open-source authenticator app for iOS/Android/Web/Desktop, developed in React-Native, cloud synced with Casdoor

Platforms

Web Self-hosted Cloud iOS Android

Languages

JavaScript

Casdoor Authenticator App

GitHub Actions Deploy to GitHub Pages Release GitHub issues GitHub forks License Discord

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.

Features

  • [x] Multi-platform support (iOS/Android/Web)
  • [x] TOTP-based multi-factor authentication
  • [x] Account synchronization with Casdoor
  • [x] Web deployment via GitHub Pages
  • [ ] Integration with Casdoor's central service and desktop client

Quick Start

git clone https://github.com/casdoor/casdoor-authenticator
cd casdoor-authenticator
npm install && npm run start

Installation

You can use the Casdoor Authenticator App in multiple ways:

Building from Source

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

Common Steps

git clone https://github.com/casdoor/casdoor-authenticator
cd casdoor-authenticator
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.

Web build

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.

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.