App Engine OpenID Configuration for Chrome Web Store Apps
Aloha!
If you are building your Chrome Web Store web app on Google App Engine (and why wouldn't you? :) then do I have a tip for you!
Because no one wants to create yet another username and password for your app, we highly recommend the integration of Google's OpenID system to reduce new user friction and streamline on-boarding. App Engine actually makes this very simple, but there's a specific configuration required to allow all Google accounts to access your app.
Make sure you use the following line of code:
Notice the use of
Hope that helps!
Seth
If you are building your Chrome Web Store web app on Google App Engine (and why wouldn't you? :) then do I have a tip for you!
Because no one wants to create yet another username and password for your app, we highly recommend the integration of Google's OpenID system to reduce new user friction and streamline on-boarding. App Engine actually makes this very simple, but there's a specific configuration required to allow all Google accounts to access your app.
Make sure you use the following line of code:
self.redirect(users.create_login_url(dest_url=self.request.uri, federated_identity='www.google.com/accounts/o8/id'))
Notice the use of
federated_identity='www.google.com/accounts/o8/id'
to specify the Google OpenID endpoint. This is the endpoint you want to use for all Google accounts (not just @gmail.com accounts)Hope that helps!
Seth