Two-Factor Authentication (2FA) in Python

  Рет қаралды 50,439

NeuralNine

NeuralNine

Күн бұрын

Пікірлер
@captainobvious7898
@captainobvious7898 7 ай бұрын
Excellent to the point video without wasting any time with nonsense. Learned exactly what I came here for, nothing more, nothing less. This is a perfect example of what all KZbin tutorial videos should be.
@Lorry127
@Lorry127 5 ай бұрын
Great video! Brief, informative, precise, and without BS. Keep up the fantastic work!
@rafaArt680
@rafaArt680 Жыл бұрын
Best channel for python developers ever, I learn a lot from you man!!
@tracyprice8548
@tracyprice8548 2 жыл бұрын
This is awesome. This is similar to the project I am building in my current class. I added similar code to flask app along with html files to create webpages😊🎉
@carecavoador
@carecavoador 2 жыл бұрын
Awesome, man. As always very interesting content showing practical use of nice things.
@thienviet3429
@thienviet3429 Жыл бұрын
I want to inform other people, that the key needs to be more than 19 letters. You will get an error, if you the key has less than 20 letters.
@kiiikoooPT
@kiiikoooPT Жыл бұрын
this is very usefull, but I'm looking for kind of the oposite, like I want to make the authenticator itself, what I mean is, I want to make my own app where I can scan the qr code or something, and aply the uri there from any service, to keep them all in the same app, my own app. and you probably will ask why, well i have a bunch of acounts and 3 Auth apps, and some accounts dont work with some Auth apps, you need a specific auth app for that type of account, so I wonder if is possible to make your own Auth app and have all the accounts on it???
@Julie9009
@Julie9009 2 жыл бұрын
Thank you 😊 This video came at just the right time for me. It will allow me to very easily add 2FA to an app that I'm currently developing.
@andrewcropper163
@andrewcropper163 2 ай бұрын
Is there a way to use secret key and password where it wouldn’t ask again? We have a central username for downloading reports from a system. But introduced MFA recently. The import process doesn’t work as it’s asking for MFA. Essentially we have an SSIS package using python to login normally and now it asks for MFA. Sorry I haven’t explained it well. But I tried using the shared secret code from the QR code but just asks for the 6 digit code and then stops
@vedantbarhate2028
@vedantbarhate2028 2 жыл бұрын
hey brother can u plz. tell u r from which university and what are u learning like ur major and all.......
@Salmanmushtaq-cs3jm
@Salmanmushtaq-cs3jm 6 ай бұрын
I create the uri and generate the QRCODE, when I scan using google authenticator it shows "key not recognized"
@sanikamnjoshi
@sanikamnjoshi 2 ай бұрын
came in handy! thank you!
@Salmanmushtaq-cs3jm
@Salmanmushtaq-cs3jm 6 ай бұрын
when i generate qrcode and scan using google authenticator i received error "key not recognized"
@mindcreativestudios4709
@mindcreativestudios4709 Жыл бұрын
Thank you! So helpful and practical.
@Jmignet
@Jmignet Жыл бұрын
Great Video! Is it advisable to have some sort of destruction mechanism on that QR Code? Otherwise, anyone that scans it would be able to add it to an authenticator app? Or does that QR Code already come with some sort of OTP encrypted?
@editsensei6876
@editsensei6876 Жыл бұрын
Plz Share code
@rabeemohammed5351
@rabeemohammed5351 2 жыл бұрын
I want ask you question please Can I send sms messages for my phone use python Or use USB Or use kivy I mean same apk sms messages in phone📱
@PaulineLepre
@PaulineLepre 3 ай бұрын
I appreciate your efforts! 🙏 I wanted to ask something unrelated: 🤔 I have these words 🤨. (behave today finger ski upon boy assault summer exhaust beauty stereo over). What should I do with this? 🤷‍♂️
@1mrnewton
@1mrnewton 2 жыл бұрын
Great Great🔥🔥
@c0rp0rat1on1
@c0rp0rat1on1 Жыл бұрын
I am trying to do this in bit different way but I get non base32 detection error and I am not able to log in to my broker plz help
@ПавелВылиток-р7ш
@ПавелВылиток-р7ш Жыл бұрын
Thank you for great tutorial!
@aadityasahoo6244
@aadityasahoo6244 Жыл бұрын
Hey what do i do when i try to scan the qr with google authenticator and it says that error: key not recognised? any solutions/ideas?
@mrpinkm4n
@mrpinkm4n Жыл бұрын
pyotp.totp.TOTP(base64.b32encode(secret_key)) google authenticator needs converted base32 key
@elricho72
@elricho72 Жыл бұрын
Great chanel !, awesome example, thank you
@mikepenprogrammer2652
@mikepenprogrammer2652 2 жыл бұрын
Awesome! Thank you for the great content.
@limitlessplays007
@limitlessplays007 2 жыл бұрын
Please make a video on python with keycloak it has all these features and 2fa and main thing is its open source
@paulthomas1052
@paulthomas1052 2 жыл бұрын
Very useful demo. Thanks :)
@strycinek
@strycinek Жыл бұрын
Very useful. Thank you for the tutorial
@acrobite26
@acrobite26 Жыл бұрын
I get the following error: TypeError: argument should be a bytes-like object or ASCII string, not 'list' What do i do?😭
@BardUser-l7s
@BardUser-l7s Жыл бұрын
Thank you for the video.
@Stl71
@Stl71 2 жыл бұрын
Beautiful man! Can you make a video and explain how to have a different code for each computer?
@irfanshaikh262
@irfanshaikh262 2 жыл бұрын
Great stuff
@rajat6249
@rajat6249 2 жыл бұрын
How to increase time from 30 seconds to 3 minutes or more??
@ihazpowah
@ihazpowah Жыл бұрын
You can't increase the duration that a TOTP token is valid. However you can add an extra argument in the verify function to increase the window of tokens that will be valid: # accept the current, previous and next token (for most applications this should be sufficient): pyotp.verify(otp=, valid_window=1) # accept the current, previous 3 and next 3 tokens: pyotp.verify(otp=, valid_window=3)
@abdullahsaid8561
@abdullahsaid8561 Жыл бұрын
the key has to be base64, not string
@kristianjackson6196
@kristianjackson6196 Жыл бұрын
Was wondering about this, thank you
@SalvillaJohnRey
@SalvillaJohnRey 3 ай бұрын
I just wanna ask if this is free?
@naveensc867
@naveensc867 11 ай бұрын
Hi ModuleNotFoundError: No module named 'pyotp'
@khalidbouychou
@khalidbouychou 3 ай бұрын
install it
@LearnandCodeHub
@LearnandCodeHub 2 ай бұрын
pip install pyotp
@santaclausiscomingtotown3923
@santaclausiscomingtotown3923 Жыл бұрын
love!
@1DannyJh
@1DannyJh Жыл бұрын
gracias!
@ozkanozdemir6255
@ozkanozdemir6255 2 жыл бұрын
Great...
@writetogupta
@writetogupta 4 ай бұрын
Great
@-sothea2143
@-sothea2143 2 жыл бұрын
👌💖
@shad-intech
@shad-intech Жыл бұрын
Happy I will not be writing the logic provided py PyOTP from scratch.
@samrijijkot
@samrijijkot 2 жыл бұрын
Comment for engagement
@tcgvsocg1458
@tcgvsocg1458 2 жыл бұрын
too much import you show nothing...
@abishekmajee8064
@abishekmajee8064 3 ай бұрын
I have a problem with pip install pyotp, its showing some network error-WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/pip/, please help to install pyotp
@jorgechavarriaga395
@jorgechavarriaga395 Жыл бұрын
Nice ! Thanks! Great video! Little question.. I'm trying to in my provisioning_uri to send an image.. (to be able to have it in the autentication app ..like microsoft, etc).. but so far without success ... i have not found any documentation related.. any ideas ? uri = totp.provisioning_uri(name=user, issuer_name=company, image=url) url = "XXXXX/myimage.png" i dont receive any error.. but also no image in the app
5 Custom Python Decorators For Your Projects
25:40
NeuralNine
Рет қаралды 10 М.
Encrypted File Transfer via Sockets in Python
19:54
NeuralNine
Рет қаралды 23 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Coding Encrypted Chat in Python
20:33
NeuralNine
Рет қаралды 50 М.
Makefiles in Python For Professional Automation
13:43
NeuralNine
Рет қаралды 45 М.
How Hackers Bypass Two-Factor Authentication (2FA)?!
9:20
Loi Liang Yang
Рет қаралды 160 М.
AI Image Recognition Using Python | No Internet Required
4:43
SQLModel + FastAPI: Say Goodbye to Repetitive Database Code
19:50
Two Factor Authentication | Node.js & Speakeasy
24:59
Traversy Media
Рет қаралды 82 М.
RSA Private & Public Key Encryption in Python
12:42
NeuralNine
Рет қаралды 57 М.
Secure Login System in Python
14:43
NeuralNine
Рет қаралды 114 М.