Skip to content Skip to sidebar Skip to footer

Is It Possible To Test Google App Engine Openid Authentication On Development Server?

I'm trying OpenID support for Google App Engine on a small project i have on my machine but when i call: users.create_login_url(federated_identity = provider_url) i get this error

Solution 1:

You should normally pass a dest_url parameter to create_login_url, unless you're certain that there is a "current request" whose url you want to use instead. Apparently, the latter condition does not obtain, so the destination url stays None, which causes the problem you're observing. Passing an explicit dest_url should fix it.


Post a Comment for "Is It Possible To Test Google App Engine Openid Authentication On Development Server?"