firebase / firebase-admin-go

Firebase Admin Go SDK
Apache License 2.0
1.13k stars 242 forks source link

Updating user's PasswordHash to be base64 URL decoded before user import #480

Closed thomasmburke closed 2 years ago

thomasmburke commented 2 years ago

Developers are having trouble migrating users because of the issue described here. This update looks to update the snippet used in https://firebase.google.com/docs/auth/admin/import-users#import_users_with_firebase_scrypt_hashed_passwords to help users migrate users and avoid issues surrounding double base64 encoding.

thomasmburke commented 2 years ago

So the update for this doc snippet updating two things: 1.) Decoding the user password hash