Add ability to specify scopes for Google Services when using Google Sign In#19
Open
pmmucsd wants to merge 10 commits intoStacked-Org:mainfrom
Open
Add ability to specify scopes for Google Services when using Google Sign In#19pmmucsd wants to merge 10 commits intoStacked-Org:mainfrom
pmmucsd wants to merge 10 commits intoStacked-Org:mainfrom
Conversation
FilledStacks
requested changes
Mar 26, 2024
Contributor
FilledStacks
left a comment
There was a problem hiding this comment.
Left a few questions before I continue with the PR test and merge
|
|
||
| final firebaseAuth = FirebaseAuth.instance; | ||
| final GoogleSignIn _googleSignIn = GoogleSignIn(); | ||
| GoogleSignIn? _googleSignIn; |
Contributor
There was a problem hiding this comment.
What's the benefit of going to a nullable GoogleSignIn object and not using late?
| AuthCredential credential, | ||
| ) async { | ||
| return firebaseAuth.signInWithCredential(credential); | ||
| return await firebaseAuth.signInWithCredential(credential); |
Contributor
There was a problem hiding this comment.
We do we need to await here if the calling function should be awaiting the future?
|
|
||
| /// Firebase additional user information | ||
| final AdditionalUserInfo? additionalUserInfo; | ||
| final String? oAuthAccessToken; |
FilledStacks
requested changes
Mar 27, 2024
Contributor
FilledStacks
left a comment
There was a problem hiding this comment.
Remove the change of repository to your own repo
pubspec.yaml
Outdated
| version: 2.20.0 | ||
| homepage: https://stacked.filledstacks.com/ | ||
| repository: https://github.com/Stacked-Org/firebase_auth.git | ||
| repository: https://github.com/pmmucsd/firebase_auth.git |
Contributor
There was a problem hiding this comment.
This change will not go in.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the ability to pass in a list of scopes and returns the oAuth access token with the FirebaseAuthenticationResult. This enables developers to use this library to request access to Google Services like Drive and Gmail in the signup flow.