You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue as this SO user. I'm following the official tutorial / blog post, but I get the following error when it gets to oauth.google.authorize_redirect():
File "/home/.venv/lib/python3.10/site-packages/authlib/common/encoding.py", line 15, in to_bytes
return bytes(x)
TypeError: cannot convert 'URL' object to bytes
I'm on fastapi==0.95.0 and Authlib==1.2.0.
The text was updated successfully, but these errors were encountered:
Same issue as this SO user. I'm following the official tutorial / blog post, but I get the following error when it gets to
oauth.google.authorize_redirect()
:Code from tutorial:
The error:
I'm on
fastapi==0.95.0
andAuthlib==1.2.0
.The text was updated successfully, but these errors were encountered: