Skip to content

FastAPI demo doesn't work #91

Description

@marianpa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions