Custom Scheme for Google 2FA #1478
Unanswered
sts-ryan-holton
asked this question in
Support Requests
Replies: 1 comment
-
Any updates on this? Running into the same problem... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've come across #781 and #781, and the general theme is that dealing with Two-Factor Authentication can be completed using a custom scheme, and sadly those two issues were closed without much guidance in proceeding.
I too have just come across the challenge of integrating 2FA into my Nuxt app, and I've already written 90% of the server-side code required to generate the QR code, verify and am now at the stage where my API's controller (in Laravel) will return a JSON response, without a token if a user's account has 2FA enabled.
I now need to integrate this into my front-end code, and on the log in screen, make the first "log in" request, which will give me back a variable that I can use to then present a 2FA screen for the user, and then redirect them.
I've tried the example scheme, but this seems not to work:
config
custom scheme
So, I'm not seeing any of my console.logs when I try to log in, so what's wrong here?
Beta Was this translation helpful? Give feedback.
All reactions