mirror of
https://github.com/pezkuwichain/pezkuwi-telegram-miniapp.git
synced 2026-07-25 04:05:41 +00:00
security: harden telegram-auth Edge Function
- Remove insecure from_miniapp auth method (telegram_id spoofing vulnerability) - Implement HMAC-SHA256 signed session tokens (replace weak Base64 encoding) - Reduce token expiry from 7 days to 24 hours - Restrict CORS to production domains only (telegram.pezkuwichain.io, t.me) - Add detailed debug logging for troubleshooting
This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "1.0.113",
|
||||
"buildTime": "2026-02-05T13:02:30.381Z",
|
||||
"buildNumber": 1770296550382
|
||||
"version": "1.0.116",
|
||||
"buildTime": "2026-02-06T01:06:49.994Z",
|
||||
"buildNumber": 1770340009995
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user