Giter Site home page Giter Site logo

lift-openid-example's Introduction

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

lift-openid-example's People

Contributors

timrwilliams avatar

Stargazers

Adrian Mocanu avatar  avatar  avatar Rohit Rai avatar Martin Hilscher avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.