Which is the order of the Actions?

Hello everyone!

I was reviewing the documentation regarding the order of actions in Auth0, and I have a specific question:

Scenario:

  • No users are registered in Auth0.
  • A user performs a social login with Auth0 for the first time.

My question is: Which action comes first, Post Registered or Post Login?

My understanding is that Post Registered comes first, but I would like to confirm this for certainty.

If you can clarify this, it would be amazing.

Thank you for your time.

Hi @ferran.gutierrez,

Welcome to the Auth0 Community!

If a user logs in using a Social Connection for the first time, the Post-User Registration Action does not trigger, as it is specifically designed for Database and Passwordless connections (Reference: Post User Registration Flow).

As a result, only the Post-Login Action triggers for social connections, both for the initial login and subsequent logins.

Please feel free to reach out if you have any questions.

Thanks,
Rueben

Ty for the answer! That was what I was looking