Auth0 username format without pipe/special characters?

Hi there - interested to know if you made this work using rules?

We have the same issue with an application not able to accept pipe characters in the sub credential but according to this article it is not possible to override this character.