Passwordless with DynamoDB/Cognito User Pool

Hey guys,

Trying to implement Passwordless with a custom database connection. The goal is that I have multiple applications, each with their own database, and I want to be able to link the users between all databases to have 1 user across all applications, while wanting them to login passwordless with code.

From other posts I saw that one of the solutions is having both Passwordless and a Custom Database Connection (which would be DynamoDB in my case) and link the users from both in Auth0.

My problem is, when doing the scan on the Get User script for my custom database, it always times out, locally the script runs just fine. Anyone had similar problems?

And if there is a better implementation/solution for my goal, please feel free to give me some feedback.