How do we configure a redirectUri for a ionic app in IOS?

Ciao, we’ve forked the good example in this repo GitHub - auth0-samples/auth0-ionic-samples and after some misconfiguration we were able to make it run in the web and in the native android, but not in the native ios.

In theory, it should be: ${appId}://${auth0Domain}/capacitor/${appId}/callback, but it doesn’t work, we get a 400 and it says to register our auth0Domain to our “allowed web origins” which we promptly did, it gives us 200 but gives error “SyntaxError: The string did not match the expected pattern.”

Something is wrong in the callback URI and we can’t manage to understand what the problem is because the only documentation is this repository.

A similar issue was already opened one year ago: GitHub - auth0-samples/auth0-ionic-samples and also asked there: Ionic react callback url