Custom claims missing after successful form action in post-login flow

I checked the flow logs and it shows as COMPLETED:

{
  "type": "CONTINUE_SEQUENCE",
  "params": {},
  "artifacts": {}
}

Also, in the logs section, there are no errors for the user in any of the actions.
The user’s login is successful, but it doesn’t have the claims that I need in order to continue on my website.