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: patch-diff.githubusercontent.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:2aabe63f-e252-a861-1e3b-c1dbeec89cbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DCCA:33F6A0:5D5762:79953D:697F5C6C |
| html-safe-nonce | 4878c968440d60262db5d8120076ebff0d01ea194ba0c3083461ff1949d18619 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0NBOjMzRjZBMDo1RDU3NjI6Nzk5NTNEOjY5N0Y1QzZDIiwidmlzaXRvcl9pZCI6IjYxNDEwNDM5NzA3MzEzNjc1MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 721745e1210ac719b2cd36813de08099c35740dbedcd4f9cc07480d8a788b181 |
| 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 | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width