2FA
Moderator: Martin
Re: 2FA
Do you mean to generate a random code to be used as 2fa in google authenticator? There seems to be some java to do it. Is this what you want?
https://medium.com/@ihorsokolyk/two-fac ... 7ea15ffee6
https://medium.com/@ihorsokolyk/two-fac ... 7ea15ffee6
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: 2FA
Hmm, sorry I still don't understand fully yet, never use Google Authenticator. I use 2fa, but that is sent via SMS, not app. What i understand is that the Google authenticator act just like a token generator. At first setup, it will pair up with your account. So at the next time you generate some code at the google authenticator, it can be used as the 2fa code to login anywhere else. The phone become a 2fa token generator.
What I understand is you want to emulate google authenticator using a flow, so you don't need to install Google authenticator anymore. You can generate the code directly using flow. Is that correct? (if yes, then the link above should be the way. But it is filled with java, I still have problem to translate that into Automagic's script)
Or do you mean Automagic open google authenticator, retrieve the 2fa code generated by google authenticator and then use this 2fa code to login somewhere else (maybe using http request)?
What I understand is you want to emulate google authenticator using a flow, so you don't need to install Google authenticator anymore. You can generate the code directly using flow. Is that correct? (if yes, then the link above should be the way. But it is filled with java, I still have problem to translate that into Automagic's script)
Or do you mean Automagic open google authenticator, retrieve the 2fa code generated by google authenticator and then use this 2fa code to login somewhere else (maybe using http request)?
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: 2FA
So it can be both. If you want to get the code from google Authenticatior, you can use Control UI to get the element text. But you have the GA installed, since Automagic will retrieve the code only. For AM to generate them require java from my link above, it is still beyond my current level to translate it into working flow.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.