firebase / firebase-admin-go

Firebase Admin Go SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting incorrect user email (I get old email instead current)

mblasi opened this issue · comments

[REQUIRED] Step 2: Describe your environment

  • Operating System version: GAE
  • Firebase SDK version: v.3.13.0+incompatible
  • Library version: _____
  • Firebase Product: auth

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

When getting user by ID, I get a UserRecord with a very-very-old Email. I cant find that email configured in any place at google workspache user profile anymore.

Relevant Code:

This is the function I'm using.

https://pkg.go.dev/firebase.google.com/go/auth#Client.GetUser