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

Proposal: Access to Server Auth Token #10

Closed
AndrewSumsion opened this issue Jan 26, 2024 · 4 comments
Closed

Proposal: Access to Server Auth Token #10

AndrewSumsion opened this issue Jan 26, 2024 · 4 comments
Assignees

Comments

@AndrewSumsion
Copy link

A very useful feature that is exposed by the GamesSignInClient API is the ability to get a server auth token that can be used to verify a user.

See more here: https://developers.google.com/games/services/android/offline-access#get_the_server_auth_code

It doesn't look like this feature is present, but it should be pretty simple to add to SignInProxy.kt. You would just need to modify the code from the documentation to emit a signal when it gets the server auth token.

@Iakobs
Copy link
Collaborator

Iakobs commented Jan 27, 2024

Hi @AndrewSumsion sorry for the late reply! I've been participating in a game jam and this week has been crazy :)

That is a very good proposal, I will put it first in my priorities list, for what you say is true; the implementation should be easy. I think this might be implemented during the next week.

Thanks again for your interest in the project and your help making proposals!

@Iakobs Iakobs self-assigned this Jan 27, 2024
@Iakobs
Copy link
Collaborator

Iakobs commented Jan 29, 2024

Hi again @AndrewSumsion I just released version 1.3.0 with the method for requesting server side access.

It would be great if you could give it a try and check everything works for you! thanks again!

@AndrewSumsion
Copy link
Author

Thank you! I'm still in the process of setting up Google Play Games for my app, but I should be able to try it some time this week. I'll let you know once I've tried the new addition.

@Iakobs
Copy link
Collaborator

Iakobs commented Feb 12, 2024

Hi @AndrewSumsion I'm closing this issue now, if that's ok. Please let me know if you need anything else!

@Iakobs Iakobs closed this as completed Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants