{"repo":"TeddiO/pySteamSignIn","free":true,"listed":false,"github":"https://github.com/TeddiO/pySteamSignIn","clone":"git clone https://github.com/TeddiO/pySteamSignIn.git","description":"A small Python 3 class designed to get OpenID 2.0 Steam sign-in up and running as quick as possible.","language":"Python","stars":52,"topics":["bottlepy","flask","steam-openid","python","steam","authentication","openid","openid2","fastapi"],"license":"GPL-2.0","category":"auth-billing-email","readme_excerpt":"pySteamSignIn A lightweight Python 3 helper class for getting OpenID 2.0 Steam sign-in up and running quickly. There aren’t really any Steam-specific OpenID 2.0 sign-in libraries that provide clear documentation or insight into how the flow actually works. Most guidance instead points people at generic OpenID libraries, which are often overkill for Steam and fairly bloated in practice. As a result of this pySteamSignIn is designed to let you plug in Steam Auth as quick as possible and let you start returning results immediately. Installation pySteamSignIn is now available on pip! pip install steamsignin Lets quickly get authentication rolling The power behind this is it provides the entire auth process over two (or three, if you're using bottlepy / Flask / FastAPI) functions. The first function is ConstructURL, which takes a string and returns a string The string to pass is whatever page the user is going to be sent back to as a result of logging in with Steam. At this point you forward the client on with a post request to https://steamcommunity.com/openid/login and you'll get thrown a bunch of stuff back. The important thing here is that you get thet GET returned data put into a dictionary to then pass on to ValidateResults And that's the general gist of it! At this point the user has been validated by Steam's own servers so the Steam64ID returned is one that can be trusted. If you use Bottlepy, Flask or FastAPI... An additional helper function has been provided under the gu","default_branch":null,"files":null,"tree":[],"storefront":"/r/TeddiO","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TeddiO/pySteamSignIn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}