Posts

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: 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

HTML5 for Ruby Developers Slides

Aloha, I recently had the honor of presenting " HTML5 for the Ruby Developer " to the Silicon Valley Ruby Meetup on November 10, 2010. Here are the slides from that presentation: HTML5 for the Ruby Developer View more presentations from SV Ruby on Rails Meetup . I had a great time, thanks to all for coming!

13 Tips for a Great Chrome Web Store Listing Page

Image
With the Chrome Web Store launching by the end of 2010, there's still just a bit of time to create a compelling, beautiful, and conversion generating store listing page.  To help, here are 13 tips to help make your Chrome Web Store listing page the best it can be. Create a great icon!  It should look professional and encapsulate the identity of your application.  Consult the image guidelines for examples and technical details.  Make sure the icon is clear and not pixelated. Multiple Screenshots!  Upload four to five different screenshots, each showing a different element of the app.  If your app is a game, make sure to upload screenshots showing gameplay!  Each screenshot should be 400x275 and should follow the image guidelines . Best screenshot first!  Make sure your most compelling, exciting, interesting screenshot is the first one. YouTube Movie!  A picture is worth a thousand words, but a video is worth 10 bajillion.  Creat...

Publishing Flash Apps and Games to the Chrome Web Store

Any web app that runs inside of Chrome can be published to the Chrome Web Store , and this means Flash apps are more than welcome to the party. The Chrome Web Store, launching before the end of 2010, is a publishing, distribution, and monetization marketplace for web apps. We welcome great Flash apps and games to publish and sell via the store. This post is a Quick Start guide for getting your Flash apps into the store in the quickest was possible. Give us 20 minutes and you'll have your Flash app in the Chrome Web Store. (Don't have a Flash app, just have an HTML or HTML5 web app? We have a Quick Start Guide for Publishing HTML5 Web Apps into the Chrome Web Store as well.) Assumptions You have a Flash .swf file ready to go. You have a Google account. Don't have one?   Go get one , it doesn't even have to be a GMail account. You have a credit card handy or you have a credit card added to your Google Checkout account. Two ways to do this Sorry, I know yo...

Publishing your Web App to the Chrome Web Store Screencast

Image
A quick screencast showing how easy it is to publishing your web app into the Chrome Web Store. You may also be interested in the Chrome Web Store Quick-start .

Ruby, OAuth, and Chrome Web Store

The Chrome Web Store, launching by the end of 2010, integrates a streamlined payment system, powered by Google Checkout. Your apps can opt-in to use this payment system for quick and easy payments. You can check if a user has paid for the application with a call to the Chrome Web Store License API . The License API is a REST service which returns a simple JSON format, indicating if a user (identified by a Google Federated OpenID URL) can access your web app. For Ruby developers, a new OAuth library, Signet , has recently been released which makes signing your OAuth request to the License API very easy. The first step is to publish a paid web app to the Chrome Web Store. I've written a Quick Start Guide for the Chrome Web Store that will make this fast and easy. Once you configure your app as paid, either via a one time payment or a monthly or yearly subscription, you will be provided with an OAuth Token and Token Secret. The second step is to install the Signet gem , a...

Rails, Ruby, Rack, and Google OpenID via OmniAuth

A great new OpenID library for Ruby web apps (Rails, Sinatra, Rack, etc) has recently hit the scene.  The OmniAuth library supports a plethora of authentication systems, including Twitter, Facebook, Google Apps, and OpenID.  OmniAuth is Rack based, and it's easy to slip right into your web app. While it does support OpenID, OmniAuth requires just a bit of manual configuration to support Google's OpenID endpoint. You can use Google OpenID with OmniAuth and your Rails 3 web app: For your Gemfile: gem 'omniauth' For your config/initializers/omniauth.rb : Rails.application.config.middleware.use OmniAuth::Builder do provider :openid, nil, :name => 'google', :identifier => 'https://www.google.com/accounts/o8/id' end What's up with the nil? That tells the OpenID gem to use the memory store, which is the default. You can use any OpenID Store that you wish ( complete list of OpenID stores ). Direct your users to /auth/google For ...