teamhanko / hanko

Authentication and user management system optimized for passkeys
https://hanko.io
Other
5.6k stars 790 forks source link

feat: add user data to payload on success #1444

Closed bjoern-m closed 3 months ago

bjoern-m commented 3 months ago

Description

After a successful registration or login, the payload of the success state now includes the user object. This is needed to modify the JavaScript event "hanko-session-created" to include this data.

Implementation