Skip to content

userinfo_async broken in 4.6.0 #558

Closed

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

Activity

  1. added
    bugThis points to a verified bug in the code
    on Nov 28, 2023
  2. adamjmcgrath commented on Nov 29, 2023

    @adamjmcgrath
    Contributor

    hi @Cruppelt - thanks for raising this

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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