Have a little demo app, trying to use ember-simple-auth with ember-simple-auth-torii + torii (client and API), having a fluid authentication workflow:
- Auth with e.g.
facebook-connect - Send
userIdandaccessTokento the API - Check that it's a valid facebook user
- Generate a random
accessTokenon the API - Send the generated
accessTokento the client