Questions tagged [google-2fa]
49 questions
3
votes
0 answers
2FA with Nuxt auth module
Please I'm not able to wrap my head around how I can extent the Nuxt auth module to implement 2FA like google authenticator or sms and phone authentication. I would really appreciate a code example as well. thank you.
I have only been able to…

Dawodu Fumbi
- 89
- 8
3
votes
0 answers
pragmarx/google2fa-laravel verifyKey always returns false
PHP v7.4, Laravel v7.28.3
I use pragmarx/google2fa-laravel
QR code generating:
$google2fa = app('pragmarx.google2fa');
$google2fa->setAlgorithm(Constants::SHA512);
$secret = $google2fa->generateSecretKey(64);
$user->google2fa_secret =…

Somebody
- 43
- 6
3
votes
3 answers
How can I send email from python with 2 Factor Authentication?
I have created python file that can send email using less secure apps turned on, but I need it off. How can I send email with 2FA?
# import simple mail transfer protocol library
import smtplib
# import EmailMessage method
from email.message import…

thatnicholascoder
- 161
- 1
- 2
- 9
2
votes
1 answer
Should the "Google Two Factor Authenticator" accountSecretKey be stored into my database?
I am trying to understand how Google Two Factor Authenticator process works in order to incorporate it into my site. Its my understanding that there are two different part to the process
A user on my site enable 2FA which created a link between my…

Jay
- 1,168
- 13
- 41
2
votes
2 answers
How to apply 2fa, ACL for IAM in GCP
Recently, the IAM key of GCP was exposed, and miner was installed.
In the case of AWS, 2fa can be set when accessing with an access key, or access can be made only from a specific IP.
If there was such a setting, the accident would not have occurred…

김남진
- 23
- 3
1
vote
1 answer
Laravel - google authenticator 2FA verify successful but unable to redirect to home page
I want to add google authenticator TOTP in my laravel app. I am using this package pragmarx/google2fa-laravel
Link to package: https://github.com/antonioribeiro/google2fa-laravel
Login controller:
`.....
if ($userInfo["login_attempt"] < 5 ||…

Lord Jesus
- 150
- 3
- 24
1
vote
0 answers
Google 2FA screen stuck on iOS devices for a mobile app
I am working on an iOS app which provides "Login with Google" functionality utilising OAuth 2.0 and external web pages. The same login functionality is provided to an Android application where it works without an issue. However, on the iOS app the…

Milen Penchev
- 11
- 1
1
vote
0 answers
Unable to set up 2fa on github: Enabling two-factor authentication failed
Unable to set up 2fa on github: Enabling two-factor authentication failed
I have an issue while enabling two-factor authentication on my GitHub account.
In the second step Download your recovery codes, an error occurred.I clicked "I have saved my…

fandes FYF
- 11
- 1
1
vote
0 answers
Node js Google Authentication 2 FA Implementation Otp
I want to implement Google 2FA Authentication in node js How can i do this?
I used speakeasy js library like below :
const qrcode = require('qrcode');
const secret = speakeasy.generateSecret({
name: 'test'//constants.SPEAK_SECRET_CODE
});
var…

ilyasg
- 11
- 2
1
vote
1 answer
Pyotp not giving the same code as Google authenticator even with URI
Hi there Stackoverflow users.
I tried using Python to use the 2FA Secret on Stripe to get the 2FA Code.
But each time I try the codes are`nt the same as if I used Google authenticator.
I Aleardy tried using a uri, but without any luck. I already…

The DEV
- 53
- 1
- 8
1
vote
1 answer
recover 2FA for my account using ssh isn't working
I lost my phone which have the Authenticator app and the recovery codes,
I have ssh setup on my account so I'm trying to generate new codes using ssh:
ssh git@gitlab.com 2fa_recovery_codes
this command is giving me this current output:
An error…

Maya Hamdan
- 75
- 7
1
vote
1 answer
How to simulate logging into a Google Account using Cypress?
I am trying to simulate logging into a Google Account but I am already having issues just loading the login page.
This is my code:
cy.origin('https://accounts.google.com', () => {
cy.visit('/servicelogin')
})
And this is the error message that I…

krisc
- 95
- 1
- 10
1
vote
1 answer
How to access images in the local storage?
I'm working on a project which has to retrieve some data from the local storage. I'm saving a personal image to the locale storage, but when I'm trying to retrieve the image I'm getting 404 ERROR.
Error:…

daniel19
- 67
- 8
1
vote
1 answer
Is there a way to get current Google Authenticator 2FA key for a specific account (client-side)
I am searching for a way to obtain the current code in my Google Authenticator app. for a specific account.
Please note that I'm not looking for embedding Google 2FA to any of server-side application - I guess it has been already well-documented.
I…

Roni Tovi
- 828
- 10
- 21
1
vote
0 answers
Laravel fortify 2FA code does not expire after 30 seconds
I'm working on a new laravel 8 project using jetstream and when testing laravel fortify's two-factor authentication the codes expire after 1 minute; In the google authenticator app the codes always expires after 30 seconds.
I scanned the QR code…

Xer0x
- 11
- 3