how to by pass multiple claim authentication in sharepoint 2013 login page?

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.

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

My Requirement:

When the user open the sharepoint page, it will asking to select Authentication type like windows or ABC Domain Users or CONTOSO Domain users.

when the user login the sharepoint page then it will by pass multiple authentication page and login to correct sharepoint page.


How can I achieve this task?

Task Failed Task:

1. I just tried to created custom Login page and entered /_trust/ in custom sign  option on the webapplication.

It is not working and am 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.


So I am trying to create custom http handler to bypass the login page. I am not sure I am going right track or not

2. 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 condit 
If i am Using sharepoint Object model and getting current user
on and redirect the proper domain AD FS Server and Also facing 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 by pass multiple authentication in the sharepoint 2013 login page.
July 25th, 2015 1:10pm

The easiest way to do what you are suggesting is to Extend the web application to a new zone with a new URL and then place each authentication type in a different zone.  By going to a specific base url the user will be prompted to login with the right windows or ADFS login page.  That way you will bypass the drop down to choose the authentication type.
Free Windows Admin Tool Kit Click here and download it now
July 26th, 2015 5:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics