9

I have just installed SharePoint 2013 on my system. And at the time of login it shows me login screen like below.
enter image description here

Requirement is- I do not want to implement Form Based Authentication. I just want to turn above dialog into a Form where user can login using AD account.

5
+25

This is the default Integrated Windows Authentication dialog. You see this dialog on non-IE browsers (or IE browsers if the SharePoint site is not set in the Intranet zone or if the SharePoint site is not allowed to pass through Windows credentials). To use Windows Authentication, you will have to utilize this login dialog. If you would like to use a form for authentication, you can utilize forms based authentication as UserSP has suggested. You can still utilize Windows Authentication as a provider for Forms based authentication, this seems like the route that would best suit your needs.

  • Isn't there a way so that we can create form which authenticates a user using AD credentials? – Kamalpreet Jul 12 '16 at 3:41
  • The hyperlink in my post describes how to create a form that authenticates against AD credentials. – James Grizzle Jul 12 '16 at 17:58
  • But how can we modify Global.asax file in a SharePoint Project? Since we only have Application Pages there. – Kamalpreet Jul 18 '16 at 3:59
  • 1
    @JamesGrizzle link is broken. – netadictos Nov 21 '18 at 10:27
3

You have to create a new .aspx page which inherits from Microsoft.SharePoint.IdentityModel.Pages.FormsSignInPage class.

Please check this link : http://tomaszrabinski.pl/wordpress/2011/06/23/sharepoint-2010-custom-login-page/

http://www.mssharepointtips.com/tip.asp?id=1093&page=1

0

I believe this is something with respect to how browser behave(authentication). Here is stackoverflow link, this might give you an insight and some odd approaches

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

0

This dialog is part of Browser. When you enabled windows authentication on web application, application will allow to authenticate user with windows credentials through following link:

/_windows/default.aspx

The physical location of file is:

"Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\IDENTITYMODEL\WINDOWS\default.aspx"

The page inherits from Microsoft.SharePoint.IdentityModel.Pages.WindowsSignInPage. You can disassemble the dll "Microsoft.SharePoint.IdentityModel" and see how it is processing the request.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.