FastAPI demo doesn't work
marianpa opened this issue · 1 comments
marianpa commented
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