Hi, I use psswordless auth and was wondering what ...
# general
r
Hi, I use psswordless auth and was wondering what is the bestway to add a email filter. So basically only only adresses from „@example.com“
r
Hey @rankala
You can use the API override feature we have to override the createCode API on the backend which gets the email as the input. In your custom override API, you can first check if the input email has the right domain. If it does, call the original implementation, else return a
GENERAL_ERROR
status code to the frontend with an appropriate message for the user.
r
Thanks 😊
2 Views