Answer the question
In order to leave comments, you need to log in
Laravel project with windows IIS authentication. Why is there a blank screen after entering the username and password?
Hello, I have a question about user authentication. There is an application on Laravel 5.6 hosted in a SharePoint2010 virtual folder and it all runs on IIS 7.5. The question is perhaps a bit banal, but nevertheless it has a place to be ... When I specify Windows authentication (in order to get REMOTE_USER later) and run the project, a login and password input window pops up when entering my credentials, the same window pops up and so quite a large number times, then a white screen and that's it. If there is anonymous authentication, then everything works correctly, but the REMOTE_USER parameter is empty. Please tell me what could be the problem?
Answer the question
In order to leave comments, you need to log in
Decided to set up authentication. Canceled Kerberos left only NTLM, enabled Windows Authentication and ASP.NET Impersonation. In ASP.NET Impersonation, after right-clicking and choosing Edit, check the Authenticated user checkbox and click OK. We restart IIS and the application opens and works correctly + when $_SERVER is displayed, we see our domain\user in AUTH_USER.
PS works for Windows Server 2008R2, SharePoint2010, IIS 7.5, Laravel 5.6, PHP 7.2.7 just in case, I think it will not be superfluous.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question