Picasa Web Albums Sample
A sample application demostrating Spring's OpenID and OAuth2 abstractions. Users sign in by using theirs existing Google Account. The access to the Picasa Web Albums by using its Google Data API needs to be allowed when prompted.
Prerequisites
All applications that access a Google API must be registered through the APIs Console. The result of this registration process is a set of values that are known to both Google and your application (e.g. client_id, client_secret, JavaScript origins, redirect_uri, etc.). The set of values generated varies based on what type of application you are building. This sample is a web server application therefore you will need to obtain client_id and client_secret. These two tokens will need to be set in oauth.properties file.
See Google's OAuth2 Playground for demonstration of the actual authorization flow.