How to add Action to a Next Js project

I am trying to run some checks before a user can register and then login, I found that I can do that with ```
onExecutePreUserRegistration

Is there a way to do it with Actions or there is a better/other approach?

Hi @rezgui.aziz

Welcome to the Auth0 Community!

Thank you for posting your question. The best way to implement checks before user registration will be with Pre User Registration Flow Action, and if you want to 2nd round of separate during login checks you can do it with Login Flow.

Thanks
Dawid

Hey Dawid, thanks ! I just did ,turned out it’s easier than I thought.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.