Core
Framework v2.x
2

Auth Events #

auth:strategyAuthenticated #

Arguments Type Description
strategy
string
Authentication strategy name
user
object
Authenticated user properties

This event is triggered after a successful user authentication, but before a token is generated.

It is also triggered before the auth:afterLogin event.


user #

The provided user object has the following properties:

Properties Type Description
_id
string
User's kuid
profileIds
string[]
List of associated profiles