I am trying to create a custom members registration light box, however it seems like all attempts results in "bad requests", as per the console log. I cant tell what is causing the bad request, I tried different emails (which are not on the dashboard site members page), still does not work. I am at a lost. Can someone please help me?
Do I have to somehow link the wixUsers.registration to a database or the dashboard?
Here is the code I used:
import wixUsers from 'wix-users';