Skip to content

A4ANK/auth_service_biohash

Repository files navigation

Multi Server Authentication service using Bio-Hash.

It uses hash values generated using images for validation of user credentials and server authorization by a user.

1. Architecture

Architecture

2. Deployment

Deployment

3. Usecases:-

    1. It can be used as Multi Server Authentication as a Service.
    1. OpenID Connect can be added to it.
    1. Scope mechanism of OAuth 2.0 can be added in an application's access to a user's account.

4. Tech Stack Used:-

  • Python3
  • Flask (Web Framework)
  • SqliteDB
  • Pymongo
  • PyCryptoDome (AES Enc-Dec)
  • bio_auth (Custom Package)
  • PyJWT
  • Pillow
  • ImageHash
  • HMAC
  • Hashlib
  • Pytz

Setup Application

  • Download this git repo.
git clone https://github.com/A4ANK/auth_service_biohash.git
  • Create a virtual env for this app in python.
pip install virtualenv

python -m venv venv

.\venv\Scripts\activate

pip install -r requirements.txt
  • Launch Flask web app.
python run_apps.py
...

Admin Password = "random password generated if env var ADMIN_PASS is not set."

...

Author:-

  • Ankur Dhakar

About

Multi Server Authentication service using Bio-Hash.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published