Skip to content

Sample project showing Lift's openid module integrated with the openid-selector JS library

Notifications You must be signed in to change notification settings

timrwilliams/lift-openid-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Sample project showing Lift's openid module integrated with the openid-selector JS library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published