Thanks to visit codestin.com
Credit goes to github.com

Skip to content

userinfo_async broken in 4.6.0 #558

Closed
@Cruppelt

Description

@Cruppelt

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions