💻 Tech
If you’re using an action trigger like post-login, you can use the event object to know more about the event that caused the trigger. event.authentication is one example. If its value is federated, an IdP (identity provider) was used to for authentication. If the value is pwd, the usual username/password was used, in which the database connection is the source.
More details: https://auth0.com/docs/customize/actions/explore-triggers/signup-and-login-triggers/login-trigger/post-login-event-object