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 6085147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:36:22+00:00 2026-05-23T11:36:22+00:00

I have been converting the projects: OpenIdRelyingPartyMvc and OpenIdProviderMvc to be the same code

  • 0

I have been converting the projects: OpenIdRelyingPartyMvc and OpenIdProviderMvc to be the same code base. I wish to have a website which can provide both of those functions.

The integration parts left on my list are as follows.

Case 1
OpenIdProviderMvc requires the following routes as specified in the global.asax. However, having these routes breaks OpenIdRelyingPartyMvc from displaying the OpenID textbox and login button. Instead it says “This is login’s OpenID identity page”.

//-- OpenIdProviderMvc requires these, however, it breaks OpenIdRelyingPartyMvc 
routes.MapRoute(
    "User identities",
    "user/{id}/{action}",
    new {controller = "User", action = "Identity", id = string.Empty, anon = false});
routes.MapRoute(
    "PPID identifiers",
    "anon",
    new {controller = "User", action = "Identity", id = string.Empty, anon = true});

Case 2
The second difference is the forms authentication in the web.config.

//-- OpenIdRelyingPartyMvc
<forms defaultUrl="~/Home" loginUrl="~/User/Login" name="OpenIdRelyingPartyMvcSession"/>

//-- OpenIdProviderMvc
<forms loginUrl="~/Account/LogOn" timeout="2880" name="ProviderMvcSession"/>

How can I complete the integration given these two remaining case?

Thank you

  • 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-05-23T11:36:23+00:00Added an answer on May 23, 2026 at 11:36 am

    Note: Currently my requirement is a single user per site.

    The solution I found is:

    1. All terms and action of “Logon” change to “Login”, “Logoff” to “Logout”.

    2. Have a single link on the home page to /Account/Login

    3. The Account/Login is to have both user login and openid login on the same page. The also involves moving identity to account controller and removing the UserController/actions as this was basically just an authenticated members area.

    4. The forms authentication to be /Account/Login version too (web.config) as changed by (1)

    5. All XRDS xml documents to be named XRDS-Party or XRDS-Provider respectivly and also need to be returned from views as xml without their surrounding layout. I was only able to do this by instead of returning View(), to return Content() with the help of another method RenderPartialViewToString() from http://learningdds.com/public/ControllerExtension.cs

    6. Log4net is your friend, especially when “No endpoint could be found” error. It also helped me find that the returned xml document was surrounded by xml.

    Lastly, the above steps are not a complete guide to converting the solution to be a single code base. Hopefully it will help you and feel free to ask Qs.

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

Sidebar

Related Questions

I have been tasked with converting several php classes into java classes, which is
I have been using the mysql api in PHP, and am now converting to
I am converting a personal site over to MVC 2 and I have been
I have been experimenting with woopra.com A web analytics tool. Which requires a piece
I have been perpetually intrigued by test-driven development, but I can never follow through
I have been considering using the code example shown at Shell Style Drag and
I am converting from vb5 and have a dll (now converted to VB.NET) which
I have been using the following code for months (without problem) in a .NET
Have been looking at the MVC storefront and see that IQueryable is returned from
Have been studying the file system related classes of Adobe AIR 1.5, but so

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.