Kirill Bondar 9/7/2023 5:26:47 AM
We do not provide direct access to the user database storage. And yes, Auth0's **sample script** hashes password prior to passing it to authorization method, but it won't work with TeamDesk.
If you are trying to perform lazy migration of WaterDesk users to Auth0 consider the following:
Create dummy database and add there all the users that are subject for Auth0 login.
Set up Auth0 login script to call REST API's User method in your dummy database using Basic Authorization with email and password provided by Auth0. If user/password pair is valid the method will respond with user information aka profile. If not, it will respond with 4xx error code and the message you can use to provide valid error feedback to Auth0 to indicate failed login.https://auth0.com/docs/authenticate/database-connections/custom-db/templates/login