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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:36:49+00:00 2026-05-13T22:36:49+00:00

What is the relationship between the OpenID sreg and ax extensions? How does a

  • 0

What is the relationship between the OpenID sreg and ax extensions? How does a relying party know which one to request, or 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-05-13T22:36:50+00:00Added an answer on May 13, 2026 at 10:36 pm

    sreg was written as the Simplest Thing that could Possibly Work, and has a very limited set of fields available. But since that includes nickname, email, and fullname, that’s often all you need.

    Attribute Exchange is much more extensible and featureful, although I suspect in practice features like the update_url and store request have not been widely implemented.

    As for knowing which to request: In theory, which extensions a provider supports is documented in the XRDS document available during the discovery phase, as noted in the Extensions section of the spec. If you’re using python-openid (or perhaps one of the other libraries at OpenID Enabled), you could query for that via something like

    auth_req = consumer.begin('http://example.com/joe')
    
    from openid.extensions import sreg
    
    if sreg.supportsSreg(auth_req.endpoint):
        sreg_request = sreg.SRegRequest(required=['nickname','email'])
        auth_req.addExtension(sreg_request)
    else:
        # maybe AX, maybe something else...
    

    Unfortunately, OpenID identifier delegation makes that pretty unreliable. The user may be using the HTML-based discovery method, which doesn’t advertise extensions at all, may have an XRDS that doesn’t include the same extension information as the provider does, or an XRDS that was once accurate but is now out of date.

    In addition, even if you do get an XRDS that advertises the AX extension, as far as I know it doesn’t tell you which attributes the provider supports (i.e. which AX schema).

    The most practical approach is probably to request lots of stuff, and if you get some stuff back, you can use it.

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

Sidebar

Related Questions

I have a one to many relationship between two tables. The many table contains
I have a table which defines a child-parent relationship between nodes: CREATE TABLE node
Is there a mandatory relationship between a Controller Action and a View? I mean
I have a relationship between two tables, authors and styles. Every author is associated
What is the relationship between the Windows API and the C run time library?
In WPF: Can someone please explain the relationship between DependencyProperty and Databinding? I have
How do games with gravity handle the relationship between moving things like players, monsters,
SAP HR apparently has several models for describing the relationship between Position (S), Job
I have two entities Foo and Bar with a Many to Many relationship between
I am a Delphi novice, but I'm trying to understand the relationship between TApplication

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.