FBA site ask Windows authentication first and then redirected to custom login page.
-
Tuesday, April 03, 2012 10:47 AM
Hi All,
I have created one FBA site in sharepoint 2010. Also i have our custom login page.I made all the nessary chagnes in all the web.config files.
But when i enter the URL,first it ask me "Windows Authentication" and then redirected to my custom login page.It work smoothly onwards this.
But i am not able to resolve why it ask first "Windows Authentication".Please suggest me.
Thanks
Regards,
Ajit Shinde
All Replies
-
Tuesday, April 03, 2012 10:44 AMHi All,
I have created one FBA site in sharepoint 2010. Also i have our custom login page.I made all the nessary chagnes in all the web.config files.
But when i enter the URL,first it ask me "Windows Authentication" and then redirected to my custom login page.It work smoothly onwards this.
But i am not able to resolve why it ask first "Windows Authentication".Please suggest me.
Thanks
Regards,
Ajit Shinde- Merged by Qiao WeiMicrosoft Contingent Staff, Moderator Friday, April 13, 2012 11:50 AM similar issue
-
Tuesday, April 03, 2012 10:48 AM
You need to bypass the security of the custom login page.
Use the location tag and allow authorization access to all users of that page.
Regards, Dharnendra Shah "strong belief is the only way to success"
-
Tuesday, April 03, 2012 10:55 AM
configure default site to use windows authentication
Extend site to another zone (internet, intranet, extranet or custom)
configure extended site to you custom login FBA
Regards,Milan Chauhan- Edited by Milan Chauhan Tuesday, April 03, 2012 10:55 AM
-
Tuesday, April 03, 2012 11:11 AM
Will you please give me the exact tag.
Thanks
--------------------
Regards,
Ajit Shinde
-
Tuesday, April 03, 2012 11:16 AM
<location path="_layouts/[Path (Ex.CustomFBA/Login.aspx)]"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>Regards, Dharnendra Shah "strong belief is the only way to success"
-
Tuesday, April 03, 2012 11:34 AM
I tried but still it is not happening.
Thanks
-----
Regards
Ajit Shinde
-
Tuesday, April 03, 2012 11:37 AM
did you follow same steps for custom login page
http://blogs.msdn.com/b/kaevans/archive/2010/07/09/creating-a-custom-login-page-for-sharepoint-2010.aspx
Regards, Dharnendra Shah "strong belief is the only way to success"
-
Wednesday, April 04, 2012 6:12 AM
Yes, all steps are correct.But still i am facing this issue.
Thanks
-----------------
Regards,
Ajit Shinde
-
Friday, April 13, 2012 9:48 PM
Are you still having a problem with this?
Did you try going into Central Administration, click to highligh your web app, click Authentication Providers, click default, under Sign In Page URL - click Custom Sign In Page, enter in path (EX: /_layouts/CustomLogin/CustomLogin.aspx)
Then in your website webconfig make sure you have
<authentication mode="Forms"> <forms loginUrl="/_layouts/CustomLogin/CustomLogin.aspx" /> </authentication>
-Nici- Edited by KonaCoffee Friday, April 13, 2012 9:48 PM
- Proposed As Answer by KonaCoffee Tuesday, June 19, 2012 1:00 PM
- Unproposed As Answer by Hemendra AgrawalMicrosoft Community Contributor, Moderator Saturday, February 16, 2013 7:34 PM

