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
userId
andaccessToken
to the API - Check that it's a valid facebook user
- Generate a random
accessToken
on the API - Send the generated
accessToken
to the client