Questions tagged [google-2fa]
49 questions
0
votes
1 answer
How do I extract url parameters from a chart.googleapis.com url
I want to extract the secret param from https://chart.googleapis.com/chart?chs=200x200&chld=M%%7C0&cht=qr&chl=otpauth%3A%2F%2Ftotp%2Fnamemememe%3Anull%3Fsecret%3DXMYUGG7MAT9GFRXA%26issuer%3Dnamemememe
So I should get "XMYUGG7MAT9GFRXA"
I am using…

Simran Bhake
- 117
- 8
0
votes
2 answers
Using sam stevens totp - can't get it to work
I found a project on GitHub to generate and check tokens (TOTP). I tried to get it working but failed. Here is the code:
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import…

shahar eldad
- 861
- 1
- 12
- 31
0
votes
1 answer
Is this 2FA Approach even secure?
I follow the same approach explained here.
I am using PHPGangsta_GoogleAuthenticator like so:
$ga = new \PHPGangsta_GoogleAuthenticator();
$qrCodeUrl = $ga->getQRCodeGoogleUrl(urlencode('trading.com/'.$user->email), $user->two_fa_secret);
If the…

rockstardev
- 13,479
- 39
- 164
- 296
-2
votes
2 answers
backpackforlaravel: how can we override login controller to integrate 2fa?
Actually the magnificent piece of software called backpack for laravel cannot handle natively the 2fa auth, for now, at may of 2022.
We would like to add to your project this package: https://github.com/thecodework/two-factor-authentication
To be…

realtebo
- 23,922
- 37
- 112
- 189