Hi:
I tried
http://w2popenid.appspot.com/oidconsumer
It is amazing to see the web2py Admin page up on the App Engine.
A few results:
1.
dly...@gmail.com does NOT work.
I (and my associates) want the standard email address to work. The
URL Open ID is too clunky for most people we deal with.
2. I tried a URL version of my OpenID, which is
http://openid-provider.appspot.com/dlypka
That got me to the Open ID page, but it asked me to first log into
Google, which I believe is wrong, since I am already logged in to this
web2py forum.
So I conclude that the API is working great from web2py on GAE to
OpenID, but it would be nice to have it recognize that I am already
logged into Google.
However I went ahead and did the Google login that it was asking
for, and then I did the the Yes response and it then gave me that page
with
the response codes:
resp : <openid.consumer.consumer.SuccessResponse id='
http://openid-
provider.appspot.com/dlypka' signed=['openid.return_to',
'openid.mode', 'openid.identity', 'openid.sreg.nickname']>
admin request session response
That was great!
Then I closed the browser and went back in to try it all a second
time, and this time it did NOT ask me to log into Google.
So that was good, that it recognized my current Google login which it
had "seen' me do 'inside' OpenID
I assume it does not recognize my previous login to this forum,
because it was done 'outside' of OpenID.
I guess OpenID only recognizes logins which were done 'inside' its
API.
If so, that is a big negative for the immediate future. It means at
the moment, the regular user would have to find the 'special' OpenID-
enabled
login page for a given website in order to benefit from OpenID.
-------------------------------------------------------------------------
I looked at
http://pastebin.co.za/22362
For that, it looks like one needs to also have the code for
openid.store
I assume the word 'store' means 'storage', rather an a 'store' where
one buys things...
Then I downloaded web2py.app.oidconsumer.w2p.gz
I extracted it and got the oidconsumer.w2p, but web2py failed to be
able to install it.
So I renamed the .w2p to be a .tar and I unpacked it with winrar.
That gave me the oidconsumer folder with all the source.
I copied that folder into my web2py v 1.65.5 Applications folder
and voila, it ran perfectly and still recognized my previous Google
login (which I had done 'inside' OpenID).
So I guess the code for openid.store is in there somewhere...
Next I will try it on App Engine. I assume it will work.
Thanks so much!
> I've uploaded a working openid consumer tohttp://
w2popenid.appspot.com/oidconsumer
> It uses the Web2pyStore I posted above (
http://pastebin.co.za/22362)
> and a custom fetcher (Web2pyFetcher) that permits headers etc. to be
> send.
>
> Please see whether it works for you. My battery is about to die, so I
> don't have time to
> post the source. Will post it later.
>
> Cheers,
> HC
>
> You can download the app fromhttp://
w2popenid.appspot.com/