Giter VIP home page Giter VIP logo

casdoor-app's Introduction

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 [email protected]: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 [email protected]: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.

casdoor-app's People

Contributors

cwp0 avatar hsluoyz avatar izumi-zu avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

casdoor-app's Issues

Make a Casdoor app example based on Casdoor TOTP

Tech stack:

It will first support Casdoor's TOTP: https://casdoor.org/docs/user/multi-factor-authentication/#configuring-multi-factor-authentication-using-a-totp-mobile-app (to scan the code)

image

But it will also support all general-purpose 2FA scenarios, like Google Authenticator: https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=en_US&gl=US

What we already have:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.