Google play games not working after upload to play store

I have read posts and the problem is that the sha 1 key in the google play console is different from the sha 1 of the google cloud console, but… where in the google play console is sha 1?
this is what i did:
I copied sha 1 that appears in “App signing key certificate” within the app integrity section and then created an oauth credential in google cloud console and pasted that sha 1…
but it still doesn’t work.
when I download the apk from kodular it works so I guess that’s the error.