When new users signup my app receives an error from auth0 with the text Cannot set property 'execution' of undefined
.
In the logs can be seen:
"connection": "xxxxxxxx-db",
"error": {
"message": "Cannot set property 'execution' of undefined",
"oauthError": "access_denied",
"type": "oauth-authorization"
}, ...
I need help figuring out from what side is the error. I tested signups some time ago and was working fine. My deployment has:
- An Angular app (a SPA application configured on the Tenant)
- A rails API (an API configured on the Tenant)
- An Custom DB connection as user account source at migration state. (Login and GetUser scripts working)
Login with existing users is working fine, also other operations like forgot password, change password, MFA.
I didn’t receive anything relevant on the API logs (a rails app) but just a request to the end-point required by the DB connection at import mode, which returns null data because is a new user.
Any ideas where I can be looking?
UPDATE 1: When I use the option “Try connection” inside Auth0 tenant, I receive the same behaviour, OK for previous users, and Error for recent sign-ups.