I've added Google game services inside application (Leaderboard, achievements). Everything works fine in debug.. on my machine.........
OAuth Client Id (for debug) in https://cloud.google.com/console looks like 6666666.apps.googleusercontent.com
I try to generate new OAuth Client (for production, with release key)... and .... google generates an Client with a name like '6666666-somenoise.apps.googleusercontent.com' ... and this doesn't work! It always says "Application missconfiguration" .. but everything is correct APP_ID, SHA1 & package name.
Google game services troubleshooting documentation is useless.
I made a test application again.. and it works (Client ID is generated like in example above.. without that noise)...
So. of course I can remove my current project.. and create again..with release key config by default.. but that's not a way! We have 100 achievements added in that project.. with all translations (in many languages).... and google of course doesn't allow to Export/Import them :(
Finally the issue was fixed by an unknown miracle.
How to fix: