Giter Site home page Giter Site logo

teddio / pysteamsignin Goto Github PK

View Code? Open in Web Editor NEW
48.0 4.0 10.0 36 KB

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

Python 100.00%
bottlepy flask steam-openid python steam authentication openid openid2 fastapi

pysteamsignin's People

Contributors

extreme4all avatar realyashnag avatar teddio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pysteamsignin's Issues

Open ID 2 obsolete?

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?

Support fastapi

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"},
)

Secure?

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

HTTPS detection in ConstructURL

The detection for an 's' in the URL for HTTPS in the ConstructURL function is checking the 5th index instead of the 4th index.

Quart(Async) Support

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.