Two factor authentication system using azure services and python language and its api's

Overview

FUTURE READY TALENT VIRTUAL INTERSHIP PROJECT

PROJECT NAME - TWO FACTOR AUTHENTICATION SYSTEM

Resources used:

           * Azure functions(python)
           * Azure Resource manager
           * Visual studio code 
           
           * other resources:- linux os which runs azure function app

Please watch this project demo and explanation vidio created by me for further idea and refference of my project :)

2021-12-08-22-18-38.mp4
  • Project problem area - to secure system , apps from unauthorized logins and access using two factor authentication concept with help of azure services and python twilio api's
  • Project outcomes - we created two factor authentication system with help of HTTP triggered azure function app and python language.
  • Description:-
  • Firstly we created Http triggered azure function app for python language and we written python function for getting http request from cliet application with help request module in python which help to get and post http requests. we written code for creating one time password which is random string generated by function and we send it to the verified user whatsapp number while user or any unauthorized user try to log in in system or application , which notify the user some tries to log in and as well as otp for log in which saves system from login simply by giving values . this method will increase over all security and privecy of user
  • 1)visual studio help to connect to azure portal and our subscription and cloud function apps
  • 2)twilio api help to manage whatsapp number send otp to user's registered whatsapp number
  • 3)azure function app - which help us deploy our server less apllication and gets https request such as username and generated otp from our client application through http request which is situated in users workstation and checks for correct username and using twilio api sens otp to user whatsapp number . user will use that otp to login in system or application if its matches with client otp then user will successfully able to login in its own system or it will not allow unauthorized user to login in users system.

azure function app Screenshot (83)

Screenshot (80) source code Screenshot (84) client application login attemp Screenshot (85) htpp request triggeered by client app to the azure function app and responded by server function app #OTPScreenshot (86) using otp successfully loged in by user Screenshot (87) with wrong otp or erong user login details unauthorized login attemp detected by function and client application and it will inform to user about unauthorized login by alert messege. Screenshot (88) Demo http trigger passed through url bar for better understanding how azure function app working and responding . Screenshot (89)

Thank You

A fully tested, abstract interface to creating OAuth clients and servers.

Note: This library implements OAuth 1.0 and not OAuth 2.0. Overview python-oauth2 is a python oauth library fully compatible with python versions: 2.6

Joe Stump 3k Jan 02, 2023
Minimal authorization through OO design and pure Ruby classes

Pundit Pundit provides a set of helpers which guide you in leveraging regular Ruby classes and object oriented design patterns to build a simple, robu

Varvet 7.8k Jan 02, 2023
Flask Implementation of a login page and some basic functionality.

login_page Flask Implementation of a login page and some basic functionality. How to Run $ chmod +x run.sh setup.sh $ # run setup.sh only if the datab

3 Jun 03, 2021
A JSON Web Token authentication plugin for the Django REST Framework.

Simple JWT Abstract Simple JWT is a JSON Web Token authentication plugin for the Django REST Framework. For full documentation, visit django-rest-fram

Simple JWT 3.3k Jan 01, 2023
Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes

Flask-HTTPAuth Simple extension that provides Basic and Digest HTTP authentication for Flask routes. Installation The easiest way to install this is t

Miguel Grinberg 1.1k Jan 05, 2023
Spotify User Token Generator Template

Spotify User Token Generator Template Quick Start $ pip3 install -r requirements

Arda Soyer 1 Feb 01, 2022
Flask user session management.

Flask-Login Flask-Login provides user session management for Flask. It handles the common tasks of logging in, logging out, and remembering your users

Max Countryman 3.2k Dec 28, 2022
Social auth made simple

Python Social Auth Python Social Auth is an easy-to-setup social authentication/registration mechanism with support for several frameworks and auth pr

Matías Aguirre 2.8k Dec 24, 2022
OAuthlib support for Python-Requests!

Requests-OAuthlib This project provides first-class OAuth library support for Requests. The OAuth 1 workflow OAuth 1 can seem overly complicated and i

1.6k Dec 28, 2022
This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)

Welcome to django-rest-auth Repository is unmaintained at the moment (on pause). More info can be found on this issue page: https://github.com/Tivix/d

Tivix 2.4k Jan 03, 2023
A Python library to create and validate authentication tokens

handshake A Python library to create and validate authentication tokens. handshake is used to generate and validate arbitrary authentication tokens th

0 Apr 26, 2022
JSON Web Token Authentication support for Django REST Framework

REST framework JWT Auth JSON Web Token Authentication support for Django REST Framework Overview This package provides JSON Web Token Authentication s

Styria Digital Development 178 Jan 02, 2023
Awesome Django authorization, without the database

rules rules is a tiny but powerful app providing object-level permissions to Django, without requiring a database. At its core, it is a generic framew

1.6k Dec 30, 2022
Simple Login - Login Extension for Flask - maintainer @cuducos

Login Extension for Flask The simplest way to add login to flask! Top Contributors Add yourself, send a PR! How it works First install it from PyPI. p

Flask Extensions 181 Jan 01, 2023
A generic, spec-compliant, thorough implementation of the OAuth request-signing logic

OAuthLib - Python Framework for OAuth1 & OAuth2 *A generic, spec-compliant, thorough implementation of the OAuth request-signing logic for Python 3.5+

OAuthlib 2.5k Jan 01, 2023
Authentication testing framework

What is this This is a framework designed to test authentication for web applications. While web proxies like ZAProxy and Burpsuite allow authenticate

DigeeX 140 Jul 06, 2022
Mock authentication API that acceccpts email and password and returns authentication result.

Mock authentication API that acceccpts email and password and returns authentication result.

Herman Shpryhau 1 Feb 11, 2022
PetitPotam - Coerce NTLM authentication from Windows hosts

Python implementation for PetitPotam

ollypwn 137 Dec 28, 2022
Use this to create (admin) personal access token in gitlab database. Mainly used for automation.

gitlab-personal-access-token Ensure PAT is present in gitlab database. This tool is mainly used when you need to automate gitlab installation and conf

CINAQ Internet Technologies 1 Jan 30, 2022
FastAPI-Login tries to provide similar functionality as Flask-Login does.

FastAPI-Login FastAPI-Login tries to provide similar functionality as Flask-Login does. Installation $ pip install fastapi-login Usage To begin we hav

417 Jan 07, 2023