81
Views
5
Comments
Solved
[Google Authenticator] Google Authenticator - Can I send a code to the google authenticator instead of using
google-authenticator
Service icon
Forge asset by Ricardo Silva
Application Type
Reactive

Hello

For a challenge I need to use the google authenticator.

But I wonder if and how I can make it work that if a user wants to log in a code is send or seen in the google authenticator so the user can enter that in the website

2018-10-18 08-34-00
Eric Bulters
 
MVP
Solution

The QR code is what you scan with the Google Authenticator app to register the account in the application.

To explain the Demo screen
1. Is the URL to register the account in the Authenticator App
2. Is the same as 1 but in QR form that can be scanned with the AuthenticatorApp
3. Is where you can fill in the code from the authenticator app to see if the verification is working (in the demo it gets pre-filled with the current active code)
4.Are your settings of the account you are registering


if you go into the demo application you see how everything is done.
Here the register code and URL are generated

Here you find the action that validates the code from the Authenticator app




So for your application you would create an URL for the user to register the account in the Authenticator (using the user details)

Then when you want to authenticate the user you use the Validate code action

2018-10-18 08-34-00
Eric Bulters
 
MVP

Hi Roelof,

Great to see you working on Neo's Odyssey with such passion!
Did you already installed the demo of this plug-in? That might help you get started.

Kind regards,
Eric

UserImage.jpg
Roelof Wobben

yes. I did but I saw only some things that worked with a QR code.
Or I miss some things

2018-10-18 08-34-00
Eric Bulters
 
MVP
Solution

The QR code is what you scan with the Google Authenticator app to register the account in the application.

To explain the Demo screen
1. Is the URL to register the account in the Authenticator App
2. Is the same as 1 but in QR form that can be scanned with the AuthenticatorApp
3. Is where you can fill in the code from the authenticator app to see if the verification is working (in the demo it gets pre-filled with the current active code)
4.Are your settings of the account you are registering


if you go into the demo application you see how everything is done.
Here the register code and URL are generated

Here you find the action that validates the code from the Authenticator app




So for your application you would create an URL for the user to register the account in the Authenticator (using the user details)

Then when you want to authenticate the user you use the Validate code action

UserImage.jpg
Roelof Wobben

Thanks, then the next problem is how do I know that url if I do not want to use a qr code.

Back to studying the demo.

Complex stuff

2018-10-18 08-34-00
Eric Bulters
 
MVP

If you look at the AuthInfo parameter of the Demo you'll see the URI field that's the URL that you need. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.