# Console authentication invalid!

**URL:** <https://forum.heroiclabs.com/t/console-authentication-invalid/371>\
**Category:** Local Setup\
**Created:** [December 9, 2019, 5:32pm UTC](https://forum.heroiclabs.com/t/console-authentication-invalid/371 "2019-12-09T17:32:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammed](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Mohammed](https://forum.heroiclabs.com/u/Mohammed)\
**Post date:** [December 9, 2019, 5:32pm UTC](https://forum.heroiclabs.com/t/console-authentication-invalid/371/1 "2019-12-09T17:32:33Z")

</div>

Hi,

Developer console shows “Console authentication invalid.”  
I’ve never change the default password or username

I deleted docker (Images & containers) and run docker-compose again but still will not accept my credentials.

I used this command to remove all images  
 docker rmi (docker images -a -q)

I used this command to stop and remove all containers  
 docker stop (docker ps -a -q)  
 docker rm (docker ps -a -q)

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [December 9, 2019, 7:01pm UTC](https://forum.heroiclabs.com/t/console-authentication-invalid/371/2 "2019-12-09T19:01:16Z")

</div>

Hey @Mohammed. The default credentials are just “admin” and “password”. Do you have a server configuration YML file which you pass at startup? Is it possible you’ve set new values there?

---

<div class="post-metadata">

**Author:** ![Mohammed](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Mohammed](https://forum.heroiclabs.com/u/Mohammed)\
**Post date:** [December 10, 2019, 5:50am UTC](https://forum.heroiclabs.com/t/console-authentication-invalid/371/3 "2019-12-10T05:50:22Z")

</div>

Hey @novabyte. You are right, I will explain what happen so others can avoid this.  
I exported the config.yml from the developer console , and when you do that the password will be exported like this \*\*\*\*\*\*\*\*\*  
on my docker-compose.yml I added this --config “/nakama/data/config.yml”

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [December 10, 2019, 7:02am UTC](https://forum.heroiclabs.com/t/console-authentication-invalid/371/4 "2019-12-10T07:02:57Z")

</div>

I’m glad it’s resolved. The console API is what returns the server settings which can be exported. That API will never return the actual console password because it could be a security risk. 🙂

I recommend you only put in your YML file the server settings which you’ve set that are different to the defaults. It will make it easier for you to maintain in the future.
