I'm a bit of a newbie to FirebaseUI, but one thing that would be helpful as an enhancement to Auth would be to allow an option for GoogleProvider to provide the Google server auth code in addition to the id token. I believe this could be added in GoogleProvider.getSignInOptions by adding a call to requestServerAuthCode to the GoogleSignInOptions.Builder call. Then if the auth code could be returned as part of IdpResponse, it could be used for subsequent calls to (for example) People api.
@dmikesell thanks for the suggestion. If we choose to enable this it might make sense to just allow the user to pass in any GoogleSignInOptions they want.
This is related to #806, we need a better way to pass options in/out.
Now tracking this in #1022
Most helpful comment
@dmikesell thanks for the suggestion. If we choose to enable this it might make sense to just allow the user to pass in any
GoogleSignInOptionsthey want.