Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Authentication not working #2

Open
DSandman opened this issue Apr 18, 2017 · 5 comments
Open

Authentication not working #2

DSandman opened this issue Apr 18, 2017 · 5 comments

Comments

@DSandman
Copy link

Authentication, signing up doesn't seem to work for me.
This might be the issue: https://github.com/truffle-box/truffle-box-auth/blob/master/contracts/Authentication.sol#L27

I believe signup and update shouldn't have the payable modifier.

@apackin
Copy link

apackin commented Jun 24, 2017

It's working for me locally - are you receiving errors anywhere?
It seems like the payable modifier is added so that these functions wont error if devs add code expecting payment in the future. That shouldn't cause issues when executing without payment.

@OnlyOneJMJQ
Copy link
Contributor

@DSandman Are there any errors in the console? When clicking sign up does it redirect anywhere? Last question: Are you using MetaMask in Chrome? Thanks!

@tmashuang
Copy link

tmashuang commented Jul 19, 2017

Look like I am having a similar issue. Running testrpc, Metamask, React-Auth-Box. I am unable login after the notification pop up to approve the transaction. The notification spins a constant loading spinner but says it approved in the Metamask Tx history. Contracts were published on TestRPC, but Metamask isn't able to interact with it. Afterward, error in the console says Wallet 0x92e7... does not have an account! Will look into it more on the Metamask side.

@2624789
Copy link

2624789 commented Aug 24, 2017

I'm running React-auth-box + Geth (Ropsten) + Metamask and signup and login works, but redirection is not working.

@ghost
Copy link

ghost commented Mar 4, 2018

Change var userName = web3.toUtf8(result) in LoginButtonActtion.js to var userName = web3.utils.toUtf8(result)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants