Skip to content

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

Open

Description

@LariozaFilament

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!

Activity

  1. google-oss-bot commented on Aug 15, 2025

    @google-oss-bot

    I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

  2. niccolo-hare commented on Aug 19, 2025

    @niccolo-hare

    Hi @LariozaFilament, thanks for bringing this to our attention. I did some testing, and I was also able to reproduce the behavior. I'll raise this to our engineers to see if it's WAI or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy