You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Missing ScreenName field from auth.UserInfo struct to parse it into memory.
--- a/auth/user_mgt.go+++ b/auth/user_mgt.go@@ -59,6 +59,9 @@ type UserInfo struct {
// In UserRecord.UserInfo it will return the constant string "firebase".
ProviderID string `json:"providerId,omitempty"`
UID string `json:"rawId,omitempty"`
+ // ScreenName is the user's screen name at Twitter or login name at GitHub.+ // Only populated in ProviderUserInfo[]+ ScreenName string `json:"screenName,omitempty"`
}
The text was updated successfully, but these errors were encountered:
Describe your environment
Describe the problem
Steps to reproduce:
When a user is logged in using GitHub as provider it returns the
screenName
akalogin
in GitHub when requesting this information via accounts.lookup inProvidedUserInfo
as described in https://cloud.google.com/identity-platform/docs/reference/rest/v1/ProviderUserInfoRelevant Code:
Missing
ScreenName
field fromauth.UserInfo
struct to parse it into memory.The text was updated successfully, but these errors were encountered: