Ubuntu Global Jam

Ahmed Toulan thelinuxer at ubuntu.com
Sat Jul 9 20:56:13 UTC 2011


>From what I know about openid, you have a certain link that identifies you
as a user. And that link can be shared with other websites to authenticate
you. So yes this link has to be permanent.

The code simply opens the HTML page of your launchpad profile and searches
for some tags. Here is an example from my page:

<link rel="openid.server"
              href="https://login.launchpad.net/+openid
<view-source:https://login.launchpad.net/+openid>" />
        <link rel="openid.delegate"
              href="https://login.launchpad.net/+id/stm4YzY
<view-source:https://login.launchpad.net/+id/stm4YzY>" />
        <link rel="openid2.provider"
              href="https://login.launchpad.net/+openid
<view-source:https://login.launchpad.net/+openid>" />
        <link rel="openid2.local_id"
              href="https://login.launchpad.net/+id/stm4YzY
<view-source:https://login.launchpad.net/+id/stm4YzY>" />

Then the code returns something like this:

<openid.consumer.discover.OpenIDServiceEndpoint
server_url='https://login.launchpad.net/+openid'
claimed_id='https://launchpad.net/~thelinuxer'
local_id='https://login.launchpad.net/+id/stm4YzY' canonicalID=None
used_yadis=False >

And that's my permanent openid according to this code.

Regards,
Ahmed Toulan.

On Sat, Jul 9, 2011 at 9:29 PM, Mahmoud Tantawy <mt_007 at hotmail.com> wrote:

>  since i just started learning Python 2 days ago, i'll just zip-it and
> shut-up til someone figures out what's going on :$
>
> Mahmoud Tantawy
>
> --
> Ubuntu-eg mailing list
> Ubuntu-eg at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-eg/attachments/20110709/0a218ff1/attachment.html>


More information about the Ubuntu-eg mailing list