Can't auto-assign role to a passwordless email signup

Hi @bkease,

Welcome to the Auth0 Community!

Yes, it is recommended to use the Post-Login Flow for this case.

After reviewing your code snippet in your Post Login action script, I noticed that you are using the outdated method to assign roles to a user, specifically management.assignRolestoUser.

The correct method now for assigning roles to a user is management.users.assignRoles(), just as you did in your Post-User Registration Action script.

(Reference: UsersManager | auth0)

Could you please give that a try and let me know how it goes for you?

Thanks,
Rueben