teddio / pysteamsignin Goto Github PK
View Code? Open in Web Editor NEWA small Python 3 class designed to get Steam OpenID 2 sign-in up and running as quick as possible.
License: GNU General Public License v2.0
A small Python 3 class designed to get Steam OpenID 2 sign-in up and running as quick as possible.
License: GNU General Public License v2.0
It looks like Open ID 2 is obsolete. I get nxdomain with generated url. Is it possible this library can be updated to support Open ID Connect?
the following code works for fastapi
from fastapi.responses import RedirectResponse
url = steamLogin.ConstructURL(f"{request.base_url}/callback")
_provider = "https://steamcommunity.com/openid/login"
response = RedirectResponse(
url=f"{_provider}?{url}",
status_code=303,
headers={"Content-Type": "application/x-www-form-urlencoded"},
)
How is this secure at all? Looking at the examples, they all just take the request params which are redirect params. Anybody could just send a request to the redirect endpoint with correct-ish params and the validate would return true
The detection for an 's' in the URL for HTTPS in the ConstructURL function is checking the 5th index instead of the 4th index.
Dear Contributors ,
Is there any chance that you implement functionality of library to Quart, which uses the same apis as flask, but is an asyncio reimplementation?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.