Can't Make OpenID Work For Site

Asked by Michael Lustfield on 2008-11-04

Hey, I'm trying to have my site use launchpad to log in. I only want users in the group to log in. afaik, that just means I need to create a single user account in my site and associate all their openid's to it. I have my login form at http://pastebin.com/m74176107. It seems to work except that openid login always fails. I took that form from fridge.ubuntu.com...

I'm trying to set this up at http://loco.profarius.com
The page is at http://loco.profarius.com/content/openid-lp I will use that page until I get things working.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
Curtis Hovey Edit question
Solved by:
Michael Lustfield
Solved:
2008-11-11
Last query:
2008-11-11
Last reply:
2008-11-11

This question was reopened

Francis J. Lacoste (flacoste) said : #1

You cannot log by posting directly to our site. You need to configure your server to use OpenID to talk to Launchpad.

I'm using drupal the same as the launchpad site. I'm using the openid plugin as well.

What else do I need to do?

Francis J. Lacoste (flacoste) said : #3

In the Fridge case, that form is generated after initiating an initial OpenID request to Launchpad (which set-ups the assoc_handle value which should change dynamically).

Note also that currently you can only ask for the sreg fields nickname. And that querying of team membership isn't openly available.

I'm trying to set it up so if somebody joins my loco team, they can log into the site as well....

Am I going to be able to do this the same way the Fridge does?

I was just noticing that wiki.ubuntu.com uses the same method to log in using openid...

Brad Crittenden (bac) said : #7

As Francis indicated in his message, querying of team membership is not openly available. This means Launchpad has granted that privilege to the Fridge and ubuntu.com sites but it is not generally available to other sites. I don't think you'll be able to accomplish your goal.

If I become an officially recognized team, will this functionality be available to me? This website is for my LoCo Team.

Can I still do the redirect to launchpad? I can handle manually entering each user for my site.
Something like create user on my site, enter their openid into the user on my site, redirect login to launchpad openid, have launchpad send the information back for login?

This method would ignore looking into my team. *cry*

I seem to like clicking solved instead...

Christian Reis (kiko) said : #10

This is a really confusing question. The first part of what you want to do is possible, which is authenticating Drupal against Launchpad. In fact, there is a Drupal plugin that we have developed that does this; I am trying to figure out whether or not this is available publically yet -- it should.

More than likely that plugin is exactly what I'm looking for.

Ruben Romero (huayra) said : #12

I want all launchpad registered users to have access to our loco team website (ubuntu.ec) as it seems it is an all or nothing option.

We use drupal and have the drupal open-id plugin activated. How do I get the open-id question as Michael site does?

I am willing to set that up and have open-id from launchpad be the only available signing option for the site.

Here is the best answer we'll probably get...

It's not publicly available at this point, however it is being worked on. You can watch for the release of it at https://launchpad.net/drupal.

I believe this is suppose to be released near the end of December afaik. I also believe this will be a drupal 5 release.

Hopefully this will help anybody else.

Thanks for the notification. I'm excited to get these working before out next LoCo meeting.