Next auth createUser event not running

As in the title. This code never runs. Other events such as signOut run normally Why?
No description
1 Reply
Sturlen
Sturlen14mo ago
are you using a database adapter? otherwise if you mange users separately I don't think it will be called. I started using Drizzle before the official adapter was out so I do the "is this a new or existing user?" check in the the authorize method on the AuthenticationProvider

Did you find this page helpful?