v1.3.2 (2018-06-14)
- Bump dependency version for
superagent
from 3.5.1 to 3.8.3 (no breaking changes)
v1.3.1 (2018-03-27)
Fixed
polling
transport stops polling after the first 401 response code is returned.
v1.3.0 (2018-02-13)
Added
enrollment.getAvailableAuthenticatorTypes()
to replaceenrollment.getAvailableMethods()
#47 (dafortune).transaction.requestAuth(...)
support forrecovery-code
type (a.k.a. method). Recovery code can be used the same way asotp
,push
,sms
; it has become its own autenticator type.
Changed
enrollment.getAvailableMethods()
was deprecated in favor ofenrollment.getAvailableAuthenticatorTypes()
#47 (dafortune).
As an step to support multiple authenticators associated to a single user, since version 1.3.0 recovery code has become its own authenticator type (previously known as method), this means that we have to allow the user to verify the recovery code as the only authenticator (instead of solely as a fallback for other authenticator types). Recovery code can be the only authenticator type if the user removes all the authenticators but the recovery code.
If you are using current Auth0 management API, we prevent you from being affected by this change by keeping the old behavior of the API (the recovery-code authenticator is removed together with the non-recovery authenticators as it used to be).
There is a case where you could still have recovery code as the only authenticator: when you remove all the other authenticators from guardian app. For this case the API fallbacks to suggest TOTP on enrollment.getAvailableMethod()
(deprecated) because that should allow user to enter the recovery code and recover from this condition,
on the other hand enrollment.getAvailableAuthenticatorTypes()
will suggest that recovery-code
is the only available type.
Since we now support method: recovery-code
on .requestAuth
, the suggested approach is to switch
from enrollment.getAvailableMethods()
to enrollment.getAvailableAuthenticatorTypes()
to select what method
to use when you start challenge / verification.
v1.2.0 (2017-07-18)
Added
- Support path for socket.io URLs #38 (joseluisdiaz).
v1.1.1 (2017-06-13)
Fix
v1.0.2 (2017-03-21)
Fix
v1.1.0 (2017-03-22)
v1.0.1 (2017-03-01)
Fix
v1.0.0 (2017-03-01)
Added
- Support manually checking server side state #27 (dafortune):
- Manual transaction state checking: call
transaction.getState
to get the state without relying on an open websocket or automatic polling. - Know the result of otp code validation (SMS / TOTP) without relying on a socket.
- Allow to confirm the enrollment after serializing the transaction.
- Manual transaction state checking: call
v0.4.0 (2017-03-01)
Added
- Serialize and resume to guardianJs transactions #24 (joseluisdiaz)
v0.3.0 (2016-12-01)
Added