Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.13 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.13 KB

Lift OpenID Example

This project is based on the lift-archetype-basic maven archetype using

  • sbt 0.11.1
  • scala 2.9.1
  • lift 2.4-M5

Run the project by starting sbt in the web/ directory and entering:

~container:start 

The application can be viewed at http://localhost:8080

Basic Lift OpenID integration

Basic Lift OpenID integration follows the steps lined on Assembla OpenID instructions

openid-selector Javascript integration

openid-selector provides a Javascript OpenID selector which allows users to select an OpenID provider by clicking a recognisable logo rather than entering an OpenID provider URL.

Integration with Lift is handled in the webapp/template_hidden/login.html file, wrapped by the login_template.html surround.

These templates are written for HTML5 so make sure you have this set in your Boot.scala:

LiftRules.htmlProperties.default.set((r: Req) =>new Html5Properties(r.userAgent))