authlib / loginpass

Login with Google, GitHub, Twitter, Facebook and many other networks.
https://authlib.org/
BSD 3-Clause "New" or "Revised" License
300 stars 66 forks source link

FastAPI demo doesn't work #91

Open marianpa opened 3 years ago

marianpa commented 3 years ago

FastAPI demo doesn't work. I get error:

[...]
/lib/python3.7/site-packages/loginpass-0.5-py3.7.egg/loginpass/_fastapi.py", line 72, in auth
    return await handle_authorize(remote, token, user_info, request)
TypeError: object UserInfo can't be used in 'await' expression

FastAPI version:

$ pip freeze | grep fastapi
fastapi==0.67.0
$ pip freeze | grep loginpass
loginpass==0.5
shreve commented 1 year ago

This library hasn't been re-released to PyPi since the FastAPI support was merged.

Version 0.5 issued in 74732302b5c974ee1580d8301ff3cddd9a630d95 on May 18, 2020 Add FastAPI Support https://github.com/authlib/loginpass/pull/73: merged Nov 28, 2020

This project is a REALLY GOOD IDEA imo, but it looks like it's pretty dead.