[google_sign_in] Support setting the nonce for each authentication
Open
c: new feature
p: google_sign_in
P2
package
team-ecosystem
triaged-ecosystem
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
I am implementing (SUI) zk login with Google Sign in. For which we need nonce. Now when the google sign is initialized once and the nonce is set, upon logging out and reinitializing with new nonce doesn't work.
In the doc it is mentioned Clients must call this method(Initialize) exactly once.
If this is the case how could i possibly pass a different nonce for different account. Need Help!
..initialize(
clientId: kIsWeb
? AppConstants.googleServerId
: AppConstants.googleClientId,
serverClientId: kIsWeb ? null : AppConstants.googleServerId,
nonce: nonce,
)
Contributor guide
Assessment
This issue has not been assessed yet.