You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
modify the way to enter the login verification code #220
I would like to ask how to modify the way to enter the login verification code, I want to use a bot to let the program receive the verification code and log in to a user account, instead of entering it in the console?
Thank you. I think it should be modified here to receive the verification code through the robot, right? But I thought for a moment, I can only prompt the user to enter the verification code here, but I can't get the return value of the information input by the user. Is there any other way?
Yes, you need to implement here logic that send "question" with robot and then to make the thread to wait for the response (maybe looping it with GET requests, idk)
Thank you. I think it should be modified here to receive the verification code through the robot, right? But I thought for a moment, I can only prompt the user to enter the verification code here, but I can't get the return value of the information input by the user. Is there any other way?
Activity
SachukS commentedon Jul 14, 2024
I think you need to write your own ClientInteraction class, and then assign it to your client like in this code below:
SachukS commentedon Jul 14, 2024
this is my custom class
exrtey commentedon Jul 14, 2024
Thank you. I think it should be modified here to receive the verification code through the robot, right? But I thought for a moment, I can only prompt the user to enter the verification code here, but I can't get the return value of the information input by the user. Is there any other way?
SachukS commentedon Jul 14, 2024
Yes, you need to implement here logic that send "question" with robot and then to make the thread to wait for the response (maybe looping it with GET requests, idk)
SachukS commentedon Jul 20, 2024
is there any results?
exrtey commentedon Jul 20, 2024
I already know what to do. Thank you for your reply
tLikWer commentedon Aug 24, 2024
can u help me, i dont understand the solution, may be u can give me a project with this solution