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“
04/17/2022, 6:10 PM
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
status code to the frontend with an appropriate message for the user.