canjs / can-connect-feathers

The FeathersJS client library for DoneJS and can-connect
https://canjs.com/doc/can-connect-feathers.html
MIT License
10 stars 4 forks source link

Allow 2FA scenarios in auth response #88

Closed marshallswain closed 6 years ago

marshallswain commented 6 years ago

With two-factor authentication, we won’t get back an accessToken after the first factor is authenticated (email/password, for example). The session behavior has been updated to only try to decode an accessToken if one exists, otherwise it will return whatever response is given by the server.