My Requirement is
I have SharePoint Server 2013.Now I just added two AD FS Server 3.0 and configured to SharePoint site http://spsxyz with Claim based authentication.
An example of My Server Setup:
Sharepoint server - XYZ -- Domain Controller --XYZ.COM (Test User Sam)
ABC AD FS Server -- ABC -- Domain Controller -- ABC.COM (Test User John)
CONTOSO AD FS Server -- CONTOSO -- Domain Controller -- CONTOSO.COM ( Test User Alex)
I already added Sam, John, Alex in the SharePoint site
When the user opens the SharePoint page, it will be asking to select Authentication types like Windows or ABC Domain Users or CONTOSO Domain users.
when the user login the SharePoint page then it will bypass multiple authentication page and login to correct SharePoint page.
How can I achieve this task?
Task Tried and Failure:
- I just tried to created custom Login page and entered /_trust/ in custom sign option on the web application.
It is not working and is not able to debug the code and if I open the SharePoint page it is always redirecting to ABC AD FS and open SP Page.
Implementing in this task I am not sure this is right track
So I am trying to create custom HTTP handler to bypass the login page.
- I created custom HTTP handler and deployed in _layout folder and I am not able to get proper domain name inside the code, if I get domain name then I will use IF conduit
If I am Using SharePoint Object model and getting current user on and redirect the proper domain AD FS Server and Also facing an issue
how to redirect SharePoint https://spsxyz login page to custom handler page .ashx, so I am researching on this
Urgently Please help me if anyone knows how to bypass multiple authentications in the SharePoint 2013 login page.