authlib / authlib/loginpass

FastAPI demo doesn't work

Open
#91 1 comment 6 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
319
Forks
66
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.