Hi, I am trying to add new users to to datahub usi...
# troubleshoot
p
Hi, I am trying to add new users to to datahub using the user. Props file and the docker-compose command, it worked at the first time for the first user (I have now the 'datahub' and another user) but when I tried to add more users I got this message ' Failed to log in! Invalid Credentials ' like if I didn't add another user.
e
Hey! Sorry about the late reply. Did you try restarting frontend container?
thank you 1
p
hey, yes, I stoped all the containers many times and restart them, but I still get the same error
e
Hmn so the datahub and another user added in the beginning works but all other lines are ignored?
Could you share the user.props you arep ushing in to the container? with things obfuscated
p
yes of course that's my user.props file
i am calling it in the docker-comose.yml file and each time i do the docker-compose up command to run the containers
and in the developer tools in my navigator I get this error
LogIn.tsx:38 POST http://localhost:9002/logIn 400 (Bad Request)
e
hmn and this initially worked?
I think you need to do
Copy code
- C:/Users/me/Pictures:/etc/datahub/plugins/frontend/auth
if this doesn’t work you may want to put quotes around the left hand side path
To confirm that this worked as expected, run to get in the shell of the container
Copy code
docker exec -it datahub-frontend-react sh
and run
Copy code
cat /etc/datahub/plugins/frontend/auth/user.props
The above should return you your local user.props. If not, there is something wrong with the volume mount
p
HI, Sorry for replaying now i had troubles with my laptop, after taring the cat the commande ... it couldn't find the path to the file
and the diff commande return this
p
It works now, i change to the last version of datahub and did all the steps again .... Thank's a lot
e
Awesome! Btw in the latest release we are launching user auth in ui so you shouldnt need to push in user.props manually!!
p
that's great !! thank's a lot