Skip to content

Bug: Cannot create user through new API #784

@nmunnich

Description

@nmunnich

Checklist

  • I have looked into the Readme 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

With version 4.13, we were able to create users without phone numbers. The new 5.x python API does not provide a method to omit the phone number in the actual request. Our auth0 configuration does not permit the creation of users with phone numbers, so there is no way to create a user via the python API.

This is a problem for our integration tests.

Reproduction

  1. Setup a tenant to not allow user creation with a phone number
  2. Try to create a user via auth0-python api

Additional context

No response

auth0-python version

5.1

Python version

3.13

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