Hi guys, I’m super new to both mongoDB and Auth0 so I may be missing something that is not even that complicated. As the title suggests, I’m trying to connect auth0 with a MongoDB database but when I test the scripts it gives me a timeout error.
I have followed every step of the official tutorial so:
- Created the db on auth0
- Created the db on mongo
- Added a user as admin with full access on mongo
- Added the ip addresses to the network access (maybe I did something wrong here so I’ll include a screenshot)
- Created a collection named “Users”
- Set up all the script templates with the connection string found in Database > Connect > Drivers > Node.js “v5.5 or later”
- Replaced the password with a database setting “MONGO_PASSWORD”
- Replaced the mongodb version from 3.1.4 to 5.7.0 (since I’m using node 18 in the tenant settings)
I also tried installing the Real-time Webtask Logs extension but it doesn’t log any error when I test the script:
I’m super confused and I’m sure the problem is something easy to solve but any help would be appreciated