Open mistek131995 opened 11 months ago
Hi, I get an error all the time InvalidHash, What am I doing wrong?
I'm testing this on a local server, on port 80, and adding the domain to hosts.
var telegramBotToken = configuration["TelegramBotToken"]; var loginWidget = new LoginWidget(telegramBotToken); var auth = loginWidget.CheckAuthorization(new SortedDictionary<string, string>() { {"id", query.id}, {"first_name", query.first_name}, {"username", query.username}, {"photo_url", query.photo_url}, {"auth_date", query.auth_date}, {"hash", query.hash}, {"last_name", query.last_name } });
Hi, I get an error all the time InvalidHash, What am I doing wrong?
I'm testing this on a local server, on port 80, and adding the domain to hosts.