Hi @dan.woda,
Apologies for not clearly stating our use-case.
In our case, we’re using a single action for this. Actually I did a test where I just set the user metadata like below:
exports.onExecutePostLogin = async (event, api) => {
api.user.setUserMetadata('test', true);
}
That simple code does not update the user’s userMetadata at all for postLogin action.
Any thoughts?