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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:29:17+00:00 2026-05-25T16:29:17+00:00

When authenticating with OpenID I am afaict supposed to use the claimed identifier as

  • 0

When authenticating with OpenID I am afaict supposed to use the claimed identifier as a key to uniquely identify a specific user. The problem I am having with this is either two independent bugs or a misunderstanding of the spec :).

When using node openid I would expect these two URLs to result in the same claimed_id:

  • http://{username}.myopenid.com/
  • http://www.myopenid.com/xrds?username={username}.myopenid.com

However, those URLs result in two different claimed_ids:

  • http://{username}.myopenid.com/
  • http://www.myopenid.com/xrds?username={username}.myopenid.com

both being the URLs mentioned. To verify this behaviour I decided to check out a different OpenID library, Python OpenID. Using the same two URLs I still get two claimed_ids, but in this case they’re different, now I get:

  • http://{username}.myopenid.com/
  • http://{username}.myopenid.com/xrds

So, I guess my questions is, am I right in assuming the claimed_ids should be used as identifiers and that the above URLs should result in the same claimed_id?

  • 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-25T16:29:18+00:00Added an answer on May 25, 2026 at 4:29 pm

    There’s no reason they should result in the same claimed id and in fact you offer nothing in support of that expectation.

    However, it should be noted that the first library uses a wrong value for the claimed id (emphasis mine):

    7.2. Normalization

    The end user’s input MUST be normalized into an Identifier, as follows :

    (…)

     4. URL Identifiers MUST then be further normalized by (…) following redirects when retrieving their content (…).

    And for the second URL you have this response (some headers removed):

    > GET /xrds?username=cataphract.myopenid.com HTTP/1.1
    > Host: www.myopenid.com
    > Accept: application/xrds+xml
    >
    < HTTP/1.1 301 Moved Permanently
    < Location: http://cataphract.myopenid.com/xrds
    

    Therefore http://{username}.myopenid.com/xrds should be used.

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

Sidebar

Related Questions

What happens after authenticating using openid? In a simple case, the user-agent is redirected
I want to use openid authentication for my Google App engine project. For this
I am looking into authenticating via google. I dont understand how it works: http://code.google.com/apis/accounts/docs/OpenID.html#Samples
I've just installed the OpenID Authentication plugin because I'd like to use it for
I've been having trouble using cucumber and webrat to test authlogic-openid authentication in a
Pretty much all the tutorials I found on authenticating users using Facebook, make use
I would like to implement user authentication using OpenID. Is there anything unique in
I am trying to enable openid authentication on my website as well as use
I am trying to integrate openid authentication in asp.net 4 following this article .
This is the paragraph on OpenID security from Wikipedia . Are there any new

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.