motiv-labs / janus

An API Gateway written in Go
https://hellofresh.gitbooks.io/janus
MIT License
2.77k stars 319 forks source link

Adding a basic auth user that already exists results in 500 errro #472

Open brentgriffin opened 3 years ago

brentgriffin commented 3 years ago

Running Janus in K8s cluster with cassandra storage. When adding a basic auth user that already exists, receive a HTTP 500 response and the body reads:

"runtime error: invalid memory address or nil pointer dereference"

Updating the user password would be good but if we want to error here, a more meaningful response body would be helpful.

image