Fullstack authentication and accounts-management for Javascript.
#1228 2afcb843
Thanks @pozylon! - Fix critical issue with "Two-Factor" not validating TOTP codes correctly due to a flawed version of @levminer/speakeasy
Updated dependencies [2afcb843
]:
fb49d62a
Thanks @abhishekk-raj! - MongoDB 5 compatability in all mongo-password methods#1205 dc13f582
Thanks @mrcleanandfresh! - Changed idProvider
to idSessionProvider
in @mongo-sessions
. This change was made to give more granular control when creating custom identifiers for both sessions and users. The new option generates the _id for new Session objects. Going forward, the idProvider
will only be used for the creation of user identifiers.
Updated AccountsMongoOptions
in @mongo
to have the new idSessionProvider
.
Migration: If you are using idProvider
for the creation of a custom identifier for sessions, then you will need to move that logic to the new idSessionProvider
function in the configuration.
dc13f582
, dc13f582
]:
#1205 dc13f582
Thanks @mrcleanandfresh! - Changed idProvider
to idSessionProvider
in @mongo-sessions
. This change was made to give more granular control when creating custom identifiers for both sessions and users. The new option generates the _id for new Session objects. Going forward, the idProvider
will only be used for the creation of user identifiers.
Updated AccountsMongoOptions
in @mongo
to have the new idSessionProvider
.
Migration: If you are using idProvider
for the creation of a custom identifier for sessions, then you will need to move that logic to the new idSessionProvider
function in the configuration.
dc13f582
Thanks @mrcleanandfresh! - The configuration option of convertSessionIdToMongoObjectId is now checked when using idProvider#1182 4b6878fb
Thanks @pradel! - Add missing await to when unsetting two-factor
Updated dependencies [c6b79add
]:
c6b79add
Thanks @BarbecueSilver! - Add missing extraData
property to the Session
type.#1194 a4fd732d
Thanks @zenweasel! - Fix repo links in package.json
#1203 0a402215
Thanks @mrcleanandfresh! - Added additional examples for how to authenticate with @accounts/graphql-api
#1209 5fa570d4
Thanks @gezquinndesign! - If users are currently using the Node Mongo Driver v4/Mongoose v6 (both are designed for use with MongoDB 5), this patch ensures no errors thrown when using these methods.
Updated dependencies [c6b79add
]: