Title: There is no way to get a server auth code using the Play Games C++ SDK · Issue #72 · playgameservices/cpp-android-basic-samples · GitHub
Open Graph Title: There is no way to get a server auth code using the Play Games C++ SDK · Issue #72 · playgameservices/cpp-android-basic-samples
X Title: There is no way to get a server auth code using the Play Games C++ SDK · Issue #72 · playgameservices/cpp-android-basic-samples
Description: Sorry if this is the wrong place, I could not find where to file issues with the Play Games C++ SDK. When using Java APIs, I can use GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN) together with requestServerAuthCo...
Open Graph Description: Sorry if this is the wrong place, I could not find where to file issues with the Play Games C++ SDK. When using Java APIs, I can use GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_GAMES_SI...
X Description: Sorry if this is the wrong place, I could not find where to file issues with the Play Games C++ SDK. When using Java APIs, I can use GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_GAMES_SI...
Opengraph URL: https://github.com/playgameservices/cpp-android-basic-samples/issues/72
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"There is no way to get a server auth code using the Play Games C++ SDK","articleBody":"Sorry if this is the wrong place, I could not find where to file issues with the [Play Games C++ SDK](https://developers.google.com/games/services/downloads/sdks).\r\n\r\nWhen using Java APIs, I can use `GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN)` together with `requestServerAuthCode(String)` as documented [here](https://developers.google.com/games/services/android/offline-access#performing_sign-in_on_the_client) to retrieve a server auth code.\r\n\r\nThere doesn't seem to be an option in the C++ SDK to do this. I would expect for example `gpg::GameServices::Builder` to contain a configuration function such as `RequestServerAuthCode()` but was unable to find anything resembling it.\r\n\r\n1. Is there a way to retrieve a server auth code with the Play Games C++ SDK?\r\n2. If not, how can I use the Play Games C++ SDK together with `GoogleSignInOptions.Builder.requestServerAuthCode`?","author":{"url":"https://github.com/anttirt","@type":"Person","name":"anttirt"},"datePublished":"2022-03-16T15:02:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/72/cpp-android-basic-samples/issues/72"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9b3a57fe-2e5b-9dec-3d43-b037ec5bcb76 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 807E:204531:11A9A37:182236A:69694527 |
| html-safe-nonce | 933d30e450ad85eabbf6ec3fc8203d92374b679863de86874a7f2373d24d651b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDdFOjIwNDUzMToxMUE5QTM3OjE4MjIzNkE6Njk2OTQ1MjciLCJ2aXNpdG9yX2lkIjoiNTQ3NDExMDIyNjI1NzQ5NTMzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f68ad9919d11974907ff11ed6f7b81bc873caa2d3346c6db36c6ee65d45adc9a |
| hovercard-subject-tag | issue:1171147105 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/playgameservices/cpp-android-basic-samples/72/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da48a1ec2e065ae20d3b91e111d1e45e3dae684e8031920fd4f4bf31969b67bf/playgameservices/cpp-android-basic-samples/issues/72 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da48a1ec2e065ae20d3b91e111d1e45e3dae684e8031920fd4f4bf31969b67bf/playgameservices/cpp-android-basic-samples/issues/72 |
| og:image:alt | Sorry if this is the wrong place, I could not find where to file issues with the Play Games C++ SDK. When using Java APIs, I can use GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_GAMES_SI... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anttirt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/playgameservices/cpp-android-basic-samples git https://github.com/playgameservices/cpp-android-basic-samples.git |
| octolytics-dimension-user_id | 4439547 |
| octolytics-dimension-user_login | playgameservices |
| octolytics-dimension-repository_id | 17817139 |
| octolytics-dimension-repository_nwo | playgameservices/cpp-android-basic-samples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17817139 |
| octolytics-dimension-repository_network_root_nwo | playgameservices/cpp-android-basic-samples |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width