Skip to content

[🐛] Other Platforms - [Web] [Auth] Methods are unsupported or not existing #7921

Open
@younes0

Description

@younes0

Is there an existing issue for this?

  • I have searched the existing issues.

Please confirm you are aware of the 'Other' platform limitations.

  • I confirm that issue is not relating to a known platform limitation.

Please confirm, this issue is NOT for Android or iOS?

  • I confirm that this issue is not for Android and not for iOS.

Please describe your issue here.

When using auth module on web, usage of these methods
Located in auth\lib\index.js throw exceptions :

NativeFirebaseError: [auth/unsupported] This operation is not supported in this environment for

this.native.configureAuthDomain();

NativeFirebaseError: [auth/unknown] "" is not a function for

this.native.addAuthStateListener();
this.native.addIdTokenListener();
this.native
      .signInWithCustomToken(customToken)
      .then(userCredential => this._setUserCredential(userCredential));

Firebase app, firestore & database are initiated without any issues.

Additional context and comments

No response

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