dburles / dburles/meteor-two-factor

verifyAndLogin -> Match.where error

Open
#16 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
81
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Hello! I found your package very useful, thank you for it!
But I got a problem I can't find a way to solve.

For created user instead of **logginWithPassword** after email and password submit I want to confirm his email for signIn:

-> I'm using **getAuthCode** instead of ligginWithPassword:
screen shot 2018-03-21 at 10 00 04

-> afterwards I can get user and code in **sendCode**:
screen shot 2018-03-21 at 10 03 41

-> then, I'm getting email with a link to my component where I can read token from route:
screen shot 2018-03-21 at 10 04 58

-> after I'm following the link where my verification component trying to veryfyAndLogin
screen shot 2018-03-21 at 10 06 44

=> but I'm getting error:
screen shot 2018-03-21 at 10 08 25

I think that selector doesn't have access to state and can't provide such data as 'user' and 'password' to login. I think that I don't understand it properly and hope on your help!

Will be glad to contact in telegram if smth.
My contacts: +375(29)182-52-97 / chelovekdrakon.

Sincerely Fiodar Morau.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported flow from getAuthCode through sendCode and verifyAndLogin, using the screenshots and the “Match.where” error as the starting evidence. Inspect how the verification component supplies the user and password to verifyAndLogin. Done means email verification completes sign-in without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.