OGCE gadget container makes support of OAuth as easy as possible.
Follow two files are the most important related to OAuth configuration.
- config/shindig/shindig.properties
Most important config parameter is shindig.signing.global-callback-url. It has been rewritten correctly so the end users don’t need to worry about it. - config/shindig/oauth.json
This files contains information of all consumers of which the OGCE gadget container is a proxy.
If you want to write OAuth gadget, follow instructions showed on this page: http://code.google.com/apis/gadgets/docs/oauth.html.
More complicated cases: http://sites.google.com/site/oauthgoog/oauth-proxy/social-oauthproxy