Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8327551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:09:00+00:00 2026-06-09T01:09:00+00:00

We have an ASP.NET application using WIF. Our web.config file has a section like

  • 0

We have an ASP.NET application using WIF. Our web.config file has a section like this:

<audienceUris>
    <add value="https://someapp.mycompany.com/App/" />
</audienceUris>
<federatedAuthentication>
    <wsFederation passiveRedirectEnabled="true" issuer="https://adfs.mycompany.com/adfs/ls/" realm="https://someapp.mycompany.com/App/" requireHttps="true" />
    <cookieHandler requireSsl="false" />
</federatedAuthentication>

Every example I see both the audienceUris and realm are the same value. What is the difference between these two? Do we need them both?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:09:03+00:00Added an answer on June 9, 2026 at 1:09 am

    The realm is the unique identifier of the application — the identity that’s sent to the STS when logging in. However, the audienceUris element is used to limit from what applications the token will be accepted.

    For example, a user could sign-on and receive their token from a different relying party and then navigate to your application. If that application’s realm is listed in the audienceUris, the token will be accepted and they can access the site (assuming that the application can also read the cookie).

    If you think of a token as a passport, it’s like saying that Great Britain will let in people with a US or British passport.

    In answer to your question, you should include them both, but they can be the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an ASMX web service which we invoke from our ASP.NET application using
I have an ASP.NET MVC application using Authorization Attributes on Controllers and Actions. This
I have an ASP.NET web application that is using forms authentication. Everything is configured
I have an ASP.NET 3.5 application using Windows Authentication and implementing our own RoleProvider.
I have a File Uploader in my ASP.NET application Using C#, we can upload
I have an asp.net web application using the ReportViewer2008-SP1 controls to display some reports
I have an ASP.NET application that is installed using a Web Deployment Project. I'd
I have an asp.net application that requires some editing of the machine.config file in
I have a asp.net web application using MVC framework, the website allows the registrars
I have an ASP.Net MVC web application using forms authentication. I am using OpenID

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.