Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

SharePoint is showing strange behavior that when I use my Custom login page which is using the credentials entered to get authenticated by my Custom Security Token service (Trusted Identity provider) for SharePoint. When my Identity provider sends a response to SharePoint, it redirects me to this URL

http://WebAppURL/_layouts/15/AccessDenied.aspx  

Which should not appear because my identity provider has authenticated it, I was messing around with things and then while doing that I changed my URL from the above mentioned to

http://WebAppURL/ (Got rid of _layouts/15/AccessDenied.aspx) 

It worked now whenever I log into my sharepoint webapp I first get this access denied page and then I have to change my URL, I get all the claims sent by my Identity provider.

Now If anyone out there can help me with this redirection issue? The realm I am giving while registering my IP-STS with SharePoint I append

http://webappURL/_trust/default.aspx 

and also tried

http://webappURL/_trust as well but no success.

Any help or suggestion is appreciated. Thank you.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.