Skip to content

Use official FeathersJS Client with can-connect behaviors

Choose a tag to compare

@marshallswain marshallswain released this 31 Dec 15:15
· 184 commits to master since this release
  • This is a big update with a dramatically different API.
  • Not yet compatible with Done-SSR. Keep using the 2.x.x version if you need SSR.
  • You can now directly use the official Feathers Client library.
  • Includes a service behavior for connecting to Feathers services.
  • Includes a session behavior for assisting with Feathers's JWT authentication.
    • Requires the feathers-authentication-client library to be used in the Feathers Client setup.
    • Augments the provided Map constructor with a current property. ie. Your Session Map will now have a Session.current property with the authenticated "session" data. Remember that the term "session" is just a formality here, since Feathers uses stateless JWT and not actual sessions on the server.
    • Includes feathers-authentication-popups support for automatically handling OAuth provider logins (Twitter, Facebook, GitHub)

PR: #39