authlib/loginpass

FastAPI demo doesn't work

marianpa opened this issue · 1 comments

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

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

Version 0.5 issued in 7473230 on May 18, 2020
Add FastAPI Support #73: merged Nov 28, 2020

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