Skip to content

[google_sign_in] Support passing a nonce #85439

@bharathraj-e

Description

@bharathraj-e

Use case

My application requires nonce verification.

In web browser - I can attach "clientid=xxx..&nonce=abcd123..." as query parameter to google auth url .

Google sign in returns "code" -> processing the code returns access token and idToken

So that i can get & verify the nonce value from idToken.

But nonce key is missing in idToken returned from flutter google SignIn. (because there is no way to attach nonce key to GoogleSignIn())

Proposal

Is there any way to add "nonce" value to GoogleSignIn();

Metadata

Metadata

Labels

P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: google_sign_inThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions