firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

passwordPolicyConfig doesn't exist on projectConfigManager

Open jingconan opened this issue 2 years ago • 3 comments

Hi Firebase team,

Our engineer still didn't find the passwordPolicyConfig doesn't exist on projectConfigManager. It is the same issue that is mentioned in https://github.com/firebase/firebase-admin-node/issues/2056

I wonder what's the status of that feature. Has it been GA'ed already? If not, when do we expect it will be GA? Looking forward to hearing from you. Thanks.

jingconan avatar Oct 12 '23 19:10 jingconan

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Oct 12 '23 19:10 google-oss-bot

I Had same issue because i was using older version of firebase-admin package. Can confirm it works with 11.11.0

majster avatar Nov 02 '23 15:11 majster

const projectConfigManager = getAuth(app).projectConfigManager();
const projectConfig = await projectConfigManager.getProjectConfig();
const passwordPolicy = projectConfig.passwordPolicyConfig;

it can works with 11.11.1

comicat-hu avatar Feb 19 '24 04:02 comicat-hu

Closing as this seems to be resolved now.

lahirumaramba avatar May 21 '24 18:05 lahirumaramba