Skip to content
A Login UI Widget front-end / back-end combo
JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
browser
cli
lib
static
var
.DS_Store
.gitignore
.jshintrc
Gruntfile.js
README.md
package.json
server.js

README.md

LoginUI

An HTML5 Login Widget with all the bells and whistles. There is always an authenticated session as all failures return a new guest user which can be upgraded to a regular user.

API

  • POST /users BODY {username: foo, passphrase: secret, nickname: Foo, email: foo@example.com}

    • creates a new user foo with a salted passphrase (or a guest on failure)
  • GET /users/:id

    • returns true if the user exists or false otherwise.
  • POST /sessions HEADER Authorization: Basic ...

    • returns authenticated session (or a guest on failure)

Demo

grunt build
node bin/server
# access at localhost:5599

Facebook Docs

https://developers.facebook.com/docs/howtos/login/getting-started/ https://developers.facebook.com/apps/{{appId}}/summary

Something went wrong with that request. Please try again.