Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save newly generated serverAuthCode when calling GetAnotherServerAuthCode #3001

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Worly
Copy link

@Worly Worly commented Feb 9, 2021

When GetAnotherServerAuthCode is called, newly generated authCode is not saved, or in other words, GetServerAuthCode() still returns the old one, which doesn't make much sense, since server can verify authCode only once. After first verification of auth code, Google Play Games Service will return "invalid_grant" if you try to verify it again, so I think it doesn't make sense to keep the old one when you generate a new auth code.

@google-cla google-cla bot added the cla: yes label Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant