Marc Godard
Marc Godard
@jnardone So far I have rebuilt enough in v4 that today I will give this a shot. Will post code once completed.
My 2fa implementation (NOT TESTED YET AS I HAVE TO GO): ```javascript class MyLocalStrategy extends LocalStrategy { async authenticate (authRequest, params) { // eslint-disable-line no-unused-vars const { email, password, twoFa...
@somyaranjank Had to make a few small edits, but this code does work and works perfectly. The front end has to handle the error "Sent 2FA" to ask for the...
@jandix The only other difference compared to the generated code is `authentication.register('local', new MyLocalStrategy())` instead of `authentication.register('local', new LocalStrategy())`. Not sure what you are looking for.
@jandix Yes I did make that change when I fully tested and made all the little fixes.
@somyaranjank What are you missing? Everything is above. Sorry everyone but I am unsubscribing from this issue. If anyone wants my help implementing this, please find me on the feathers...
@stevek-pro I am sorry, my code is not a repo, I have made many changes since that post and added yubikey support and many other changes. Meaning I would need...
> ```js > const tags = context._tag_data; > if (tags && tags.length) { > const blogPostId = hook.result.id; > const mappings = tags.map(t => ({ tagId: t.id, blogPostId })); >...
This seems to be working for me, but haven't fully tested yet (thanks)... now I just need to figure out how to add a custom Verifier for local.... In V3:...
@cupcakearmy See this: https://github.com/feathersjs/feathers/issues/1601