Zagrios / bs-manager

An all-in-one tool that lets you easly manage BeatSaber versions, maps, mods, and even more.
GNU General Public License v3.0
572 stars 43 forks source link

[FEAT.] : Link with steam #277

Closed DrVodka9987 closed 1 year ago

DrVodka9987 commented 1 year ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] your app says my steam login is wrong when it's the same login i have been using for the past 2 years Describe the solution you'd like A clear and concise description of what you want to happen. just add a way to link steam to the app, many other have been able to do this Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Snailedlt commented 1 year ago

This is very much needed!

Here's a how-to for you developers :)

Steam OpenID Provider Steam can act as an OpenID provider. This allows your application to authenticate a user's SteamID without requiring them to enter their Steam username or password on your site (which would be a violation of the API Terms of Use.) Just download an OpenID library for your language and platform of choice and use https://steamcommunity.com/openid as the provider. The returned Claimed ID will contain the user's 64-bit SteamID. The Claimed ID format is: https://steamcommunity.com/openid/id/

source: https://steamcommunity.com/dev

Iluhadesu commented 1 year ago

This is very much needed!

Here's a how-to for you developers :)

Steam OpenID Provider Steam can act as an OpenID provider. This allows your application to authenticate a user's SteamID without requiring them to enter their Steam username or password on your site (which would be a violation of the API Terms of Use.) Just download an OpenID library for your language and platform of choice and use https://steamcommunity.com/openid as the provider. The returned Claimed ID will contain the user's 64-bit SteamID. The Claimed ID format is: https://steamcommunity.com/openid/id/

source: https://steamcommunity.com/dev

You can't download a game using OAuth or OpenID authentification and i also already looked into it. Imagine that any website using OAuth will be able to download games ? No you need a real user token to be able to request the keys to decypher the manifests and stuff from Steam to be able to download the game properly and of course Steam doesn't give that with a simple OpenID/OAuth authentification, that's security. Otherwise all website that you authentificated yourself on with Steam, will be able to download all your games. Also we are using DepotDownloader which uses SteamKit2 from SteamRE, so there is no other solution, you need a real authentification.

However, we will add the possibility to authentificate yourself using the QRCode method, in a few weeks.

Meanwhile, there is some steps to check why your credentials aren't working (According to previous issues) :

Snailedlt commented 1 year ago

Makes sense. I thought OpenID could be parameterized to give different permissions, but if it can't it make sense that you can't download games using it.

Happy to hear you'll bring QR login at least :) That will make it much more convenient!

Zagrios commented 1 year ago

Close beacause QRCode has been added