-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sign_in problem #264
Comments
Did you use the library from crates.io, or the git version? If the former, try the git version. |
i use following:
strange thing is that telegram says me: "The code was entered correctly, but sign in was not allowed, because this code was previously shared by your account." maybe some trouble with storing token in the user states' structures?
|
If the code is sent in a Telegram message, it will immediately expire. |
so how should i transfer it here
I got the code, sending it via telegram bot, processing this message, and sending code and token to the authorization fn |
in case you would like see the code of the auth fn |
Don't. It expires. |
hello, can't authorize client via telegram
I got phone_number from user via telegram bot, then fall into state awaiting passcode, create token:
and then i get passcode from telegram to my cellphone, typing it into bot... and got:
Incomplete login attempt. Dear ***, Telegram blocked an attempt to log into your account from a new device on 16/09/2024 at 22:46:49 UTC.
Device: app_name, 0.6.0, Mac OS 64-bit, Desktop, 14.6.1
Location: ***
Nobody gained access to your chats because the login was not completed. The code was entered correctly, but sign in was not allowed, because this code was previously shared by your account.
Please don't share login codes with others, because they allow anyone to log in to your account and access your chats.
is there any way to authorize this way?
The text was updated successfully, but these errors were encountered: