firebase-unity-sdk icon indicating copy to clipboard operation
firebase-unity-sdk copied to clipboard

[Bug] Generic auth error is returned when password does not meet requirements

Open LariozaFilament opened this issue 4 months ago • 2 comments

Description

With the Enforcement Mode set to Require Enforcement, passwords that don't meet the password requirements result in a generic AuthError.Failure.

Image

Ideally I'd expect this to result in an error similar to the web sdk auth/password-does-not-meet-requirements. However resulting in AuthError.WeakPassword like when Enforcement Mode is set to Notify Enforcement would also help.

Also noting here that the auth/password-does-not-meet-requirements error is not documented in the web sdk docs.

Reproducing the issue

  1. Set Enforcement mode to Require Enforcement
  2. Attempt to create an account in the Unity editor, or in a mobile build.
  3. --> Observe a generic Failure error is returned.

Firebase Unity SDK Version

12.8.0

Unity editor version

6000.0.35

Installation Method

.unitypackage

Problematic Firebase Component(s)

Authentication

Other Firebase Component(s) in use

Analytics, Authentication, Firestore, Functions

Additional SDKs you are using

No response

Targeted Platform(s)

Android, Apple Platforms

Unity editor platform

Windows

Scripting Runtime

IL2CPP

Release Distribution Type

Pre-built SDK from https://firebase.google.com/download/unity

Relevant Log Output


If using CocoaPods for Apple platforms, the project's Podfile.lock

Expand Podfile.lock snippet

👀 Replace this line with the contents of your Podfile.lock!

LariozaFilament avatar Aug 15 '25 17:08 LariozaFilament