AndersDJohnson / firedux

:fire: :hatching_chick: Firebase + Redux for ReactJS
https://andersdjohnson.github.io/firedux/
MIT License
149 stars 12 forks source link

help: login #81

Closed devgripes closed 7 years ago

devgripes commented 7 years ago

i'm trying out the snippet provided for logging in.

handleLogin (e) {
    e.preventDefault()
    const em = this.email.value
    const pw = this.pw.value

    console.log('em', em, 'pw', pw)
    firedux.login({em, pw})
}

and i got this error: weird thing is that it's just email, password auth but the error log said it's related to FB auth

screen shot 2016-11-21 at 8 44 22 pm

can someone provide a example repo using firedux for auth? would really appreciate it, thanks

AndersDJohnson commented 7 years ago

@kuronaru Are you using Firebase 3? The login methods aren't really fleshed out yet even for Firebase 2. I might recommend managing auth outside of firedux for now. Or pull request! Note that some work was done here #47 but never completed.

AndersDJohnson commented 7 years ago

See also #4, #89.