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

Djagno grpc authentication service with jwt auth

Django gRPC authentication service STEP 1: Install packages pip install -r requirements.txt STEP 2: Make migrations and migrate python manage.py makem

Saeed Hassani Borzadaran 3 May 16, 2022
Django-registration (redux) provides user registration functionality for Django websites.

Description: Django-registration provides user registration functionality for Django websites. maintainers: Macropin, DiCato, and joshblum contributor

Andrew Cutler 920 Jan 08, 2023
python-social-auth and oauth2 support for django-rest-framework

Django REST Framework Social OAuth2 This module provides OAuth2 social authentication support for applications in Django REST Framework. The aim of th

1k Dec 22, 2022
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 Python library for OAuth 1.0/a, 2.0, and Ofly.

Rauth A simple Python OAuth 1.0/a, OAuth 2.0, and Ofly consumer library built on top of Requests. Features Supports OAuth 1.0/a, 2.0 and Ofly Service

litl 1.6k Dec 08, 2022
Python One-Time Password Library

PyOTP - The Python One-Time Password Library PyOTP is a Python library for generating and verifying one-time passwords. It can be used to implement tw

PyAuth 2.2k Dec 26, 2022
Automatic login utility of free Wi-Fi captive portals

wicafe Automatic login utility of free Wi-Fi captive portals Disclaimer: read and grant the Terms of Service of Wi-Fi services before using it! This u

Takumi Sueda 8 May 31, 2022
Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.

Welcome to django-allauth! Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (soc

Raymond Penners 7.7k Jan 03, 2023
Kube OpenID Connect is an application that can be used to easily enable authentication flows via OIDC for a kubernetes cluster

Kube OpenID Connect is an application that can be used to easily enable authentication flows via OIDC for a kubernetes cluster. Kubernetes supports OpenID Connect Tokens as a way to identify users wh

7 Nov 20, 2022
Python module for generating and verifying JSON Web Tokens

python-jwt Module for generating and verifying JSON Web Tokens. Note: From version 2.0.1 the namespace has changed from jwt to python_jwt, in order to

David Halls 210 Dec 24, 2022
This script will pull and analyze syscalls in given application(s) allowing for easier security research purposes

SyscallExtractorAnalyzer This script will pull and analyze syscalls in given application(s) allowing for easier security research purposes Goals Teach

Truvis Thornton 18 Jul 09, 2022
Basic auth for Django.

easy-basicauth WARNING! THIS LIBRARY IS IN PROGRESS! ANYTHING CAN CHANGE AT ANY MOMENT WITHOUT ANY NOTICE! Installation pip install easy-basicauth Usa

bichanna 2 Mar 25, 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
Strong, Simple, and Precise security for Flask APIs (using jwt)

flask-praetorian Strong, Simple, and Precise security for Flask APIs API security should be strong, simple, and precise like a Roman Legionary. This p

Tucker Beck 321 Dec 18, 2022
Login-python - Login system made in Python, using native libraries

login-python Sistema de login feito 100% em Python, utilizando bibliotecas nativ

Nicholas Gabriel De Matos Leal 2 Jan 28, 2022
An open source Flask extension that provides JWT support (with batteries included)!

Flask-JWT-Extended Features Flask-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to Flask for protecting views, but also many help

Landon Gilbert-Bland 1.4k Jan 04, 2023
Storefront - A store App developed using Django, RESTFul API, JWT

Storefront A store App developed using Django, RESTFul API, JWT. SQLite has been

Muhammad Algshy 1 Jan 07, 2022
OAuth2 goodies for the Djangonauts!

Django OAuth Toolkit OAuth2 goodies for the Djangonauts! If you are facing one or more of the following: Your Django app exposes a web API you want to

Jazzband 2.7k Jan 01, 2023
🔐 Login & Register System

🔐 Login & Register System This is a developable login and register system. Enter your username and password to register or login to account. Automati

Firdevs Akbayır 10 Dec 12, 2022
An introduction of Markov decision process (MDP) and two algorithms that solve MDPs (value iteration, policy iteration) along with their Python implementations.

Markov Decision Process A Markov decision process (MDP), by definition, is a sequential decision problem for a fully observable, stochastic environmen

Yu Shen 31 Dec 30, 2022