Lewdninja / liveme-pro-tools

https://github.com/Lewdninja/liveme-pro-tools-vue
GNU General Public License v3.0
30 stars 18 forks source link

New authentication method invalidates old tokens #69

Closed gitaclysm closed 5 years ago

gitaclysm commented 6 years ago

Thanks for reacting so quickly and implementing the new login method.

Unfortunately, every time liveme pro tools are started, a new token is obtained, invalidating any tokens obtained previously. This makes it really hard to use alongside any other liveme tools that also require authentication, since logging into one will log you out of the other. I imagine this would also be a problem with using LAMDs active scanning for new replays.

Would it be possible to let us either enter a token/sso_token pair to use manually, or store the tokens on disk so they can be reused next launch, and shared between tools?

The only way to work around this is to create a separate account for each tool 😐

artorawley commented 6 years ago

I raised this issue and it was prematurely closed. Hopefully this gains more traction as I strongly disagree with the dismissal from earlier.

ddpk commented 6 years ago

Is it that hard to just make a new account for each thing you use? Wouldn't that solve it? Yes it's inconvenient but it's still a solution!

gitaclysm commented 6 years ago

It kind of solves the problem, but being able to use the same account across multiple tools could enable nice things. For example, I have an automatic downloader similar to LAMD which uses the API to get a feed of new live broadcasts from any users I follow - whereas LAMD has to individually poll all interesting users for new replays. To add someone to the list, I can follow them in the app, or use a tool. But these things can't work together if they can't share access to the same account.

artorawley commented 6 years ago

@ddpk Using multiple accounts isn't a solution, it's a workaround, and it's not a lossless workaround. Having push notifications is handy for users that delete their broadcasts right away. You still need to log out of the app and then log into the tool to grab the broadcast live or hope to get it right before it's deleted. Also, creating an alt account just to follow the same hundreds of users on your main account is a pain in the ass.

Lewdninja commented 6 years ago

This is not a priority but I will eventually probably add a way to manually insert your tokens.

amr18379 commented 6 years ago

Kindly how i can add the missing parameters to the old link

http://live.ksmobile.net/live/getreplayvideos?userid=X

X as the user ID but what are the other missing parameters !!! and how i can add them to the link to view the records in the site.

Lewdninja commented 6 years ago

Look at the liveme api repository