Skip to content

All the time InvalidHash #13

Description

@mistek131995

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 }
    });

Снимок экрана 2023-11-22 074715

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions