Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doublec/urweb-persona

Persona authentication example in Ur/Web
https://github.com/doublec/urweb-persona

Last synced: about 2 months ago
JSON representation

Persona authentication example in Ur/Web

Awesome Lists containing this project

README

        

Example of using Persona in Ur/Web
==================================

This is a simple example of using Persona in Ur/Web. It is based on the
Persona Quick Setup [1] and portions of the Ur/Web OpenId library [2].

I created this to get a minimal working example of using Persona from
Ur/Web and a 'real' application would want to add more session and
user management.

[1] https://developer.mozilla.org/en-US/Persona/Quick_Setup
[2] http://hg.impredicative.com/openid

Usage
=====

Run 'make' to build. It requires a recent Ur/Web [3] version,
libjansson [4] and libcurl [5]. The Makefile creates a binary
that uses SQLite [6] for the session database. The steps to
build, create the database and run are:

$ make
$ sqlite3 persona