Last updated by mingfai
4 years ago
Google Step2
About this plugin
- Remarks: Due to an unknown technical reason, this plugin cannot be released for installation with "grails install-plugin" command. Check the Grails JIRA issue GRAILS-3978 for details. You'll need to checkout the source project from svn.
- This plugin currently serves as a demonstration of how the Google Step2 project could be started by Grails. This plugin setup all Step2 servlets and provides full OpenID and OAuth functions provided by Step2. e.g. you could use the login form to login Google's public OpenID endpoint and retrieve the user's email address via the AX attribute.
Demo
- Remarks: This plugin must be run as "grails run-war" or generate as a WAR to deploy to an app server. For another unknown technical reason, it cannot be started with "grails run-app"
- Remarks: This plugin depends on the Google Data Plugin
- checkout the source project from svn
svn co http://svn.codehaus.org/grails-plugins/grails-step2/trunk/ step2
- run the project as a war
grails run-war
- access the logon page
http://localhost:8080/step2/login or http://localhost:8080/step2/popup
Screenshot
Facebook-Connect-style pop-up login - Google
- Step1

- Step2

- Step3

- Step4

Normal same page login - Yahoo!
- Step1

- Step2

- Step3

- Step4

Compatiability
- Tested with Grails 1.1 RC 1
- Tested against the following OpenID end-points
- https://www.google.com/accounts/o8/id
- http://yahoo.com
- but not http://me.yahoo.com/$yahooUserID
Development
- any help to further improve this project is welcome. Please contact the arthor or discuss in the grails-user mail list.