auth0 / auth0-python

Auth0 SDK for Python
https://auth0-python.readthedocs.io
MIT License
506 stars 164 forks source link

userinfo_async broken in 4.6.0 #558

Closed Cruppelt closed 9 months ago

Cruppelt commented 9 months ago

Checklist

Description

await userinfo_async doesn't properly resolve the coroutine.

Reproduction

` from auth0.asyncify import asyncify from auth0.authentication import Users as AuthUsers

U = asyncify(AuthUsers) u = U(domain=AUTH0_DOMAIN) user_info = await u.userinfo_async(token) `

Additional context

Works fine with 4.5.0

auth0-python version

4.6.0

Python version

3.11.4

adamjmcgrath commented 9 months ago

hi @Cruppelt - thanks for raising this

This should be fixed when in 4.6.1 which should be released shortly #559