Getapplication().getpowerserverurl( ) results in:
https://myappurl.cloudapp.azure.com:5009/myappapi
add on the connect/token results in:
https://myappurl.cloudapp.azure.com:5009/myappapi/connect/token
when deployed to a container app, this works great (different url and different port, but that all comes from the getpowerserverurl() )
When deployed to IIS (VM in cloud server) i get: 404 not found when trying to access the jwt token api.
Before i added in the JWT auth (no auth), the deployed app worked fine on IIS.