-
Notifications
You must be signed in to change notification settings - Fork 1k
username/password authentication - errors not presented to user #5851
Copy link
Copy link
Closed
Labels
P4Low (ex: Node doesn't start up when the configuration file has unexpected "end-of-line" character)Low (ex: Node doesn't start up when the configuration file has unexpected "end-of-line" character)RPCTeamGrootGH issues worked on by Groot TeamGH issues worked on by Groot TeamTeamRevenantGH issues worked on by Revenant TeamGH issues worked on by Revenant TeambugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerssnackSmaller coding task - less than a day for an experienced devSmaller coding task - less than a day for an experienced devux
Description
eg if you get your password wrong, you get an empty response rather than "Invalid password".
Stepping through it with a debugger I can see the "Invalid password" error but it gets lost somewhere
➜ ~ curl -X POST --data '{"username":"username1","password":"NotMyPassword"}' http://localhost:8545/login
➜ ~ curl -X POST --data '{"username":"username1","password":"MyPassword"}' http://localhost:8545/login
{"token":"redacted"}%
➜ ~
latest besu
following instructions here to setup username/password auth https://besu.hyperledger.org/stable/public-networks/how-to/use-besu-api/authenticate#json-rpc-permissions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P4Low (ex: Node doesn't start up when the configuration file has unexpected "end-of-line" character)Low (ex: Node doesn't start up when the configuration file has unexpected "end-of-line" character)RPCTeamGrootGH issues worked on by Groot TeamGH issues worked on by Groot TeamTeamRevenantGH issues worked on by Revenant TeamGH issues worked on by Revenant TeambugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerssnackSmaller coding task - less than a day for an experienced devSmaller coding task - less than a day for an experienced devux