I am using actions to add custom claims on a post-login flow. I’ve added the Action to the flow. When I check the tokens (id or access, same problem) they do not have the custom claims. They only have iss, sub, aud (which is an array), iat, exp, azp, and scope.
Thank you. Not sure what was wrong but I got it working. I think it was failing silently on some other portion of my code in the action, then it was defaulting back to the basic token with no custom claims.