Reputation: 14158
I am learning how to interact with TDLib, and I first use SetTdlibParameters
and use these test user credentials:
Phone: 9996621111
Code: 22222
This works and my app moves on to this state:
AuthorizationStateWaitPhoneNumber
Then shortly after that I see:
AuthorizationStateWaitCode
And I pass the 22222
code. At this point, I expect to be authenticated, but the next state I see is:
AuthorizationStateWaitPassword
Is there a test password I'm supposed to use? Or am I doing something wrong in authenticating with the phone and code? I have read the documentation and I don't see what to do from here.
How do I finish this test user authentication flow?
Upvotes: 1
Views: 484
Reputation: 83
There is no a test password, these are test accounts that is being already used by other testers which enabled password. Just try another number until you get no password request.
Upvotes: 0
Reputation: 14158
Turns out the password was... wait for it...
1234
I deduced this because I could see a password hint in the logs of 4321
and everyone know that you just reverse the characters of a password hint to get the password. 😂
Upvotes: 1