How do I get POST /api/v2/users to ignore the get_user script?

I’m running into a problem. It appears I need the get_user script both on AND off at the same time.

If I have my get_user script call back to my backend to retrieve a user, then the “Don’t Remember Your Password?” link on the lock widget will work, which is what I want (though it appears that executing the get_user script will not create the user within auth0)

However, enabling the get_user script blocks me from creating users in auth0 via the management API (POST /api/v2/users) because the get_user script thinks they already exist. But they don’t exist in Auth0! Just in my backend!

Any tips on how to get this to work?

1 Like