Action for assigning default Role does not work

Hi @lonli.lokli,

Welcome to the Auth0 Community!

event.stats is not available in post registration actions. Actions Triggers: post-user-registration - Event Object

You probably want to do this in a post login action anyways, as post registration only runs for DB users, and is meant for async flows like adding the ID to a remote system.

Hope this helps!

1 Like