App Engine OpenID Configuration for Chrome Web Store Apps


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=''))

Notice the use of federated_identity='' to specify the Google OpenID endpoint. This is the endpoint you want to use for all Google accounts (not just accounts)

Hope that helps!


Popular posts from this blog

Lists and arrays in Dart

Converting Array to List in Scala

Null-aware operators in Dart