Telegram-Mini-Apps / telegram-apps

Made from scratch TypeScript packages, examples and documentation you will surely need to start developing on Telegram Mini Apps.
https://docs.telegram-mini-apps.com/
MIT License
691 stars 191 forks source link

Updating Token #515

Open anthhub opened 4 weeks ago

anthhub commented 4 weeks ago

Is your feature request related to a problem? Please describe.

doc The documentation mentions using the updateToken method to update a token in "local secure storage." However, the specific location or nature of this storage is unclear. Additionally, I need clarification on whether it is secure enough to store sensitive information.

Describe the solution you'd like

I'd like a detailed explanation of what "local secure storage" refers to in this context. Is it a specific storage location within the device or app environment (e.g., secure keychain, encrypted local storage)? Additionally, I would like to know the security measures in place and if it is recommended to store sensitive information like authentication tokens or personal data in this storage.

Describe alternatives you've considered

One possible alternative would be to use other secure storage methods such as encrypted databases or server-side token management, depending on the sensitivity of the data.

Additional context

Please include additional information in the documentation on how "local secure storage" works within the Telegram Mini Apps SDK, and the best practices for storing tokens securely.

anthhub commented 4 weeks ago
image