3

I have a simple 2-page ASP.NET application that is hosted as a 'azure website'. I want to make this application secure by integrating with my company's ADFS. What is the simplest way to integrate this app with ADFS. I don't want to go through ACS if I don't have to. It looks like it is possible to make the asp.net app talk to adfs directly using WIF. Can someone confirm if this will work and share any pointers to get this working?

1
  • What is ACS in this context? Commented Oct 27, 2016 at 21:55

1 Answer 1

5

You are spot-on about not considering ACS.

The simplest way is to just let the tooling in Visual Studio 2013 wire it up for you.

Create a new ASP.NET Web Application project and in the new project dialog, click on the Change Authentication button.

enter image description here

Next, select the Organizational Accounts radio button, choose On-Premises in the drop-down, and fill in your On-Premises Authority and App ID URI.

enter image description here

Vittorio blogged about the full experience here if you need more detail.

You will have to substitute in the correct URL's for your Azure Website, but this should get you going in the right direction.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks much! This worked like a charm. I got the federation metadata of the STS and was able to successfully use it when configuring the website. The STS asks for the federation metadata of the relying party during configuration. Do you know how to get federation metadata of the relying party?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.