Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route /signin-oidc produces 404 when running production build in iis #74

WalterEbbers opened this issue Sep 12, 2019 · 1 comment


Copy link

commented Sep 12, 2019

i recently build a project that uses the plugin to connect to our identityserver. When using 'au run --watch' and navigating to the app with http://localhost:9000 everything works fine.
But when i create a production build and place it within a IIS folder to test it there, the redirection from identityserver back to the app fails with a HTTP Error 404.0 - Not Found.
I tried the provided samples but the result is the same.
IIS tries to resolve the following url:

In the aurelia-app sample when publishing and opening i got a white page at first, but after i disabled the pushsstate within routerconfig i got to see the sample and tried to login. The above issue occured.

if i have config.options.pushState = true; i'm not being redirected to the login page, but when i comment it(//config.options.pushState = true;) i do get redirected.

The app is being run for example from this location: http://pcn-walter/profilename/product/client/

i tried url rewrite as found in another topic, but that did not help as the problem stayed.
@shaunluttin or anyone else is this a known issue, and if so, is there a solution available?

Kind regards,



This comment has been minimized.

Copy link

commented Sep 13, 2019

So after someone on gitter suggested to install url rewrite and helped me figure out the appropiate web.config i managed to get the redirection to work.
I really hope some other fix will be made but for now this 'temp' fix will do.
the blogpost that helped me:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.