NativeScript / NativeScript/plugins
[@nativescript/google-signin] - Signin does returns undefined for serverAuthCode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 123
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Description
While implementing the pacakge i see that in the response the serverAuthCode comes as undefined. I do get accessToken and the idToken. Because of the way our backend works we need the serverAuthCode . Is it know to not be working or might i be doing something wrong?
i'm configuring it like this
GoogleSignin.configure({
signInOptions: 'default',
clientId: environment.google_login_ios_client_id,
serverClientId: environment.google_login_server_client_id,
});
in the main.ts of the app before starting the app up
Using the versions:
- "@nativescript/google-signin": "^2.1.1",
- "@nativescript/core": "~8.9.2",
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the sign-in flow from the configuration shown in main.ts using @nativescript/google-signin 2.1.1, and inspect the package's handling of serverClientId and serverAuthCode. Compare the response with the reported accessToken and idToken values; done means determining whether serverAuthCode should be returned or documenting the limitation and required configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100