Hi @vlad5,
Please see this article: Update Made in Post-User Registration Action Not Available in Post-Login Action
We recommend using a post-login action to perform updates to the user during an authentication transaction.
Can you try adding this login to a post-login action and see if it executes as expected?
Thanks,
Mary Beth