I am trying to use similar code to utilize API connectors for validation of a B2C Auth Flow and I ran into the following issue.
In the example, you guys are writing custom error messages to the userMessage field in the response. However upon trying that the B2C flow error output doesn't change. I sort of assumed that was prebuilt field API connectors could write to. Is it the case that to utilize any custom error outputs you have to write/host your own custom page layout, etc? I am trying to understand what's the point of even returning error messages, if you can't display them.