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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:16:54+00:00 2026-05-18T23:16:54+00:00

Using dotnetopenauth, my code worked fine when using openId.CreateRequest(openIdIdentifier) . The return url was

  • 0

Using dotnetopenauth, my code worked fine when using openId.CreateRequest(openIdIdentifier). The return url was /default.aspx which i didnt want so to specify the return_to param i had to fill in realm. The desc of the 2nd param is

    //   realm:
    //     The shorest URL that describes this relying party web site's address.  For
    //     example, if your login page is found at https://www.example.com/login.aspx,
    //     your realm would typically be https://www.example.com/.

So logically the correct code is

var request = openId.CreateRequest(openIdIdentifier, new Uri("http://localdev.com:8844/"), new Uri("http://localdev.com:8844/login"));

However i get this ProtocolException

The openid.return_to parameter
(http://localdev.com:8844/login?dnoa.userSuppliedIdentifier=http://myid.myopenid.com/)
does not match the actual URL
(http://localdev.com:8844/Default.aspx?dnoa.userSuppliedIdentifier=http://myid.myopenid.com/&openid.assoc_handle=…)
the request was made with.

WTF

How do i return to /login without an exception? and bonus points if you can tell me how to have it use POST instead of GET

  • 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-18T23:16:54+00:00Added an answer on May 18, 2026 at 11:16 pm

    I assume you get this error after the OpenID Provider appears on the browser, and during the redirect back to the RP, is that right?

    It looks like the Provider you’re testing with is sending the browser to the wrong URL. But since it’s very unlikely for a Provider to manufacture “default.aspx” out of nowhere, we need to look at the logs to find out exactly what’s going on.

    You can obtain logs locally by following these instructions.
    or by trying to log into your own RP site with this OpenID identifier: http://test-id.org/RP/POSTAssertion.aspx This is a diagnostic identifier that will produce log messages at http://test-id.org/TracePage.aspx. Either way you collect them, please add the relevant logs to your question so we can better analyze what’s going on.

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

Sidebar

Related Questions

No related questions found

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.