1

Login and token

(09/05/2024 23:36:44 отредактировано jisnajoby03)

Тема: Login and token

Hi Team,

I have developed an application using Wialon Hosting API and for login functionality, I am using Extended form https://sdk.wialon.com/wiki/en/sidebar/ … gin/login.
After executing above request, I got the token, then initialise session using window.wialon.core.Session.getInstance().initSession("https://hst-api.wialon.com");  and then login using token: window.wialon.core.Session.getInstance().loginToken(token,"", .....
After this, I basically run all other needed endpoints and perform different functionalities available under CMS. I came to know about a restriction https://sdk.wialon.com/wiki/en/sidebar/ … ogin/login  that the number of token per user is limited by 1000. In my present application, when the user log into my application using the extended form, each time it is generating a new token. How can I change my development so that user need the extended login form to login and will only use the same token until its expiry instead of creating a new one every time.
Could you please help me with this?

Regards,
Jisna