-
Hi in my mini app i validate data in nodejs from frontend request by validate function from sdk package I provided expiresIn parameter but i want to make frontend able to refresh authorization data and make session not limited by time (like jwt for example) How can i refresh init data in frontend js? |
Beta Was this translation helpful? Give feedback.
Answered by
heyqbnk
Dec 4, 2024
Replies: 1 comment 2 replies
-
Implement your own handler on your backend and return new init data. Telegram Mini Apps doesn't provide such functionality and will probably not. Each mini application run receives its own init data. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
krutoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implement your own handler on your backend and return new init data. Telegram Mini Apps doesn't provide such functionality and will probably not. Each mini application run receives its own init data.