Dear sirs,
I have a project that works well with the abp studio. when i install on a iis server, the swagger app works fine. the angular app, also runs. but when i try to login, i get an http 400 error on the angular app. i have 3 web sites, but the auth is not running so i'm using only one.
When i want to test via swagger i can authenticate. also i can authenticate on the backoffice app. But i get this error:
the angular web.config:
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Redirect" stopProcessing="true"> <match url="getEnvConfig" /> <action type="Redirect" url="dynamic-env.json" /> </rule> <rule name="Angular Routes" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="./index.html" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
The dynamic-env.json: { "apiUrl": "https://apilogistics.example.com", "issuer": "https://logistics.example.com", "clientId": "logistics_App" }
Also, i dont' know if i need the auth website and if yes, what files should i put there? I think that this part is not well documented or at least i can't find it anywhere.
BEst regards