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

Bonobo 5.0.0 Unable to login on Windows Server 2012 R2 with IIS 8 #339

Closed
Alexander882 opened this issue Oct 30, 2015 · 3 comments
Closed

Comments

@Alexander882
Copy link

When trying to log in on a vanilla version of Bonobo, Chrome returns to the same login page, while Internet Explorer faults with "Unable to display this page".

I'm pretty sure that the issue lies with the fact that the HomeController returns an EmptyResponse while relying on the IAuthenticationProvider to perform Response.Redirect.

Removing the Response.Redirect call in CookieAuthenticationProvider, and changing the EmptyResponse to a RedirectToAction-call fixes the issue (however only when using CookieAuthenticationProvider).

Response.Redirect and ASP MVC is not a good mix as explained here http://blogs.msdn.com/b/rickandy/archive/2012/03/01/response-redirect-and-asp-net-mvc-do-not-mix.aspx

@JPomichael
Copy link

+1
qq 20151102100724

@larshg
Copy link
Collaborator

larshg commented Nov 2, 2015

Have you guys even looked at already opened/closed issues :) ? ie. #329 #330 #337 #338 ? Anyways there should be a fix in PR #335 ;)

Even though according to your link this might not be the best way to do it - and also, its only for CoookieAuthentication - if you have another suggestion, why don't you make a PR? :)

@jakubgarfield
Copy link
Owner

Closed as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants