I can't login at mobile app for external connection?

How Can I allow external authorization? I have a keenetic router with cloud. So I can connect to Home Assistant via my cloud domain name ex: ha.domain.keenetic.local will redirect to my HA web (internal 192.168.1.2:8123). I start app and log in, then I got an error

Custom response validation failed with error: 405, 405: Method Not Allowed

Code:
Alamofire.AFError 9

Hi all - I have the same problem with the iOS Home Assistant app.
If I log-in from the browser from outside networ via the xxx…xxx.synology.me url, all works properly
If I try to do so with the iOS app, then I get this 405: Method Not Allowed issue.

Can somebody help?

thanks

I found the issue.
When adding the URL in the iOS app, I needed to specify the port as well.
I.e.
https://xxx.xxx.synology.me:5001

then it worked properly from outside network too.