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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:15:02+00:00 2026-05-13T15:15:02+00:00

I’m beginning to seriously doubt the OpenID community despite that fact that it works.

  • 0

I’m beginning to seriously doubt the OpenID community despite that fact that it works.

I’m in the process of currently evaluating OpenID as an authentication service for ‘this’ site and while the promises are great, I just can’t get it to work. And I’m really lost.

I ask of the SO community to help me out here. Give me answers and show me examples so I can leverage this in the way it was meant to be.

My scenario is very typical. I want to authenticate users through a specific Google Apps domain. If you have access to this Google Apps domain, then you have access to my web application.

Where I get lost, is all the prerequisites and dependencies involved.

  1. What is XRD?
  2. What is Yadis?
  3. Why do I need XRD and Yadis?
  4. What do I need to do to deploy OpenID authentication on my website?

Also, this is really important to me.

When I login to SO, I use my Google Account. When I click the login button I’m presented with this confirmation page. Where I’m granting SO the right to use my Google Account credentials.

Somehow, Google knows that it’s “Stackoverflow.com” that’s asking me if it’s okay to login. And I wish to know what manner of control I have over this little text. I intend to deploy OpenID on several different domains but I would prefer if they would all work without having to be individually configured with special parameters, such as secret API keys and what not. However, I don’t know for sure if this is a prerequisite of OpenID, that or the Federated Login API that Google provides.

  • 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-13T15:15:02+00:00Added an answer on May 13, 2026 at 3:15 pm

    I’ve actually found a solution to my problem, and surpsingly so, it was very simple. I still don’t understand XRDS and Yadis but I’m leveraging it quite easily like so.

    What you want, and what you’re looking for is code for doing the OpenID “relaying party” stuff. That’s “you” as a consumer of OpenID providers. You enter an OpenID endpoint and voila, you’ve OpenID enabled your site, this code illustrates that in practice.

    // using DotNetOpenAuth
    var openid = new OpenIdRelyingParty();
    var response = openid.GetResponse();
    if (response == null)
    {
        // Google account end point (works fine)
        var googleID = "https://www.google.com/accounts/o8/id";
        // Google hosted account end point
        //  https://www.google.com/accounts/o8/site-xrds?hd=mydomain.com
        // I was unable to test this, but I was running my RP (this code)
        // from localhost and it's quite possible that a hosted account RP
        // has to return to the same domain.
        // It went fine, but crashed with a "Unable to resolve mydomain.com" error
        // once I logged in.
        openid.CreateRequest(googleID).RedirectToProvider();
    }
    else
    {
        switch (response.Status)
        {
            case AuthenticationStatus.Authenticated:
                // Success
                // to allow persistance across sessions
                // you'll have to track the "claimed identifier"
                // some OpenID providers allow you to get an email address through
                // extensions but this is not always possible.
                // the claimed identifier is typically your safest bet
                // and it's a big URL which uniquely identifies the guest
                // as a specific user, however, you know very little about this user
                // which is a good thing becuase you don't have to give out personal or
                // sensitive information to start using a service.
                break;
    
            default:
                // Something went wrong, check Status property
                break;
        }
    }
    

    While I was figuring this out, I got the impression from every spec. out there that I was supposed to host my own “OpenID provider” that made it sound like I was supposed to handle accounts or some part of the process. In reality all I had to do was this.

    Request that URL, or if you recieve a OpenID request in response. Check to see if that request contains valid login information.

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
I am doing a simple coin flipping experiment for class that involves flipping a
I know there's a lot of other questions out there that deal with this
I am currently running into a problem where an element is coming back from

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.