Anybody would know where to find a working python example? The one from Github is outdated.
https://github.com/auth0/auth0-python
from auth0.authentication import Database
database = Database('my-domain.us.auth0.com', 'my-client-id')
database.signup(email='user@domain.com', password='secr3t', connection='Username-Password-Authentication')
It should be:
from auth0.v3.authentication import Database
database = Database('my-domain.us.auth0.com')
database.signup(email='user@domain.com', password='secr3t', connection='Username-Password-Authentication', client_id ='client_id')
I just started and it’s been a frustrating experience so far with Auth0