Hi @javascriptlover,
Welcome to the Auth0 Community!
This error: TypeError: Cannot read property 'idTokenPayload' of undefined (anonymous function)
suggests that there is a rule or hook that is trying to access an undefined property ‘id’. I think that this might be used in a rule. Could you please check whether a rule is configured correctly? The best way to test would be to temporarily disable the rule and see if the problem persists.
You could try debugging the rule and use the real-time webtask logs extension in case you are having trouble pinpointing the source of where the error is occurring.
Please let me know if this helps!