Skip to content
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

Middleware to validate secret_token #1112

Open
karb0f0s opened this issue Jun 24, 2022 · 0 comments
Open

Middleware to validate secret_token #1112

karb0f0s opened this issue Jun 24, 2022 · 0 comments

Comments

@karb0f0s
Copy link
Member

karb0f0s commented Jun 24, 2022

We can ship middleware/extension method to validate secret_token in ASP.NET Core applications.

If you'd like to make sure that the webhook was set by you, you can specify secret data in the parameter secret_token. If specified, the request will contain a header “X-Telegram-Bot-Api-Secret-Token” with the secret token as content.

@karb0f0s karb0f0s added this to the v19 milestone Jun 24, 2022
@karb0f0s karb0f0s removed this from the v19 milestone Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant