Demo of OAuth WRAP with the JavaScript profile.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
console
src
tests
readme.md

readme.md

OAuth WRAP JavaScript demo

OAuth WRAP is a simpler, revised version of the oauth protocol. This project demonstrates how to use the protocol in a Javascript context.

How it works

This library demonstrates how to use the experimental JavaScript profile for OAuth WRAP. The code for OAuth WRAP authorization is contained entirely in the WRAP.authorize function. It relies on the cross-domain communication library provided by the Facebook Connect JavaScript library.

Tests

The core pieces of the library are mostly tested using QUnit. To run the tests, simply load ./tests/index.html.