Hi @quocvan1311,
Welcome to the Auth0 Community!
That is correct. The Management API is the only way to retrieve the complete user profile when using Actions or Rules.
In this case, I recommend using a Post-Login Action to add/update the last_ip
, last_login
, and blocked
properties in the user’s user_metadata
.
Please see this FAQ on using the Management API in Actions.
Hoped this helps!
Please let me know if you have any further questions.
Thank you.