OpenID for Google App Engine

别说谁变了你拦得住时间么 提交于 2019-11-30 09:19:00

I have setup an example app here:

http://github.com/shripadk/authlogic_openid_selector_example

With the source code. It works exactly the way stackoverflow does. Have not implemented facebook auth as its buggy still.

I've just played a bit with the openid-consumer you mention and it actually works. Have you tried to run the sample code standalone, as a separate project?

I've used it in a test application on App Engine and it seems to work alright. I placed the consumer.py, fetcher.py, store.py and then the openid dir in the root dir, then I moved parts of the config in app.yaml from the openid sample app to my app.yaml.

You can check the implementation at http://x-libris.appspot.com. In the upper right corner press Logga in (which is swedish for login). Try using any of the available OpenId providers, so far OpenId, Google, MySpace and Yahoo! are available (I've only tested the first two providers).

It's an Ajax based solution so I did some tweaking of the render method in consumer.py in order to change the templating and the example at openid-demo.appspot.com was handy.

// John

I just noticed the new version of the app engine SDK now includes support for OpenID in the user API

The 1.3.4 release includes support for authentication via OpenID as an experimental feature.

look in the app engine python user API docs for more info about this

This should make this easy to implement (I will start implementing this today !)

try rpxnow.com , they provide multiple options including openid.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!