Skip to main content

All Questions

Tagged with
0 votes
1 answer
29 views

React. When calling useNavigate, redirection happens, but components do not load

Here is my simple authentication component LoginServiceProvider.tsx: import { useState } from "react"; import {auth, googleProvider} from "../../config/firebase"; import "./...
Gleb Galkin's user avatar
0 votes
0 answers
22 views

How to perform a case-insensitive search based on a specific field value in Firestore? [duplicate]

I am trying to perform a query in Firestore where the field name and value should be matched irrespective of the case. For example: fruit = manGo , value = mango code which considers case : const q = ...
ShashidharM's user avatar
0 votes
0 answers
25 views

How can I carry user login information from a landing page to the home page in React using Firebase as authentication?

I tried to add the user information (like email and photoURL) to an object but then I couldn't find a way to export it to the home page. I can access the user info locally but I can't use it in ...
Matthieu Michelet's user avatar
0 votes
2 answers
62 views

Firebase Auth, React JS, Error: "logIn is not a function"

firebaseConfig.js // Import the functions you need from the SDKs you need import { initializeApp } from "firebase/app"; import { getAnalytics } from "firebase/analytics"; import { ...
LimeBunnyDev's user avatar
0 votes
0 answers
19 views

why data is not being retrieved from firestore

const HandleReadData = async () => { let url = "[email protected]" const q = query(collection(db, url)); const querySnapshot = await getDocs(q) let todosArray = [] ...
W ʌɱɩc's user avatar
1 vote
0 answers
16 views

Issue with manual url path acessibility with firebase, router and contextAPI [duplicate]

I want to access routes manually by typing the URL address in the browser if the user is logged in. If the user is not logged in, I want to redirect the page to the login page. Additionally, I want ...
dimonchik11's user avatar
0 votes
1 answer
60 views

Getting Error on Firebase login | Error 400: redirect_uri_mismatch

I have just created a React Project , and followed the steps given by firebase to deploy this app to firebase. While doing firebase login I'm getting this error. I tried adding URI in OAuth 2.0 Client ...
Usama Javed's user avatar
0 votes
0 answers
10 views

Logic of login and register using react and firebase not redirecting properly after implementation

I have been trying to run the logic of login and register using react and firebase, but upon clicking login or register, I am navigated to the directed page in the code, but it is inaccessible and I ...
Minal Cheema's user avatar
0 votes
1 answer
23 views

New to react, why am I getting error: "Cannot read properties of null (reading 'email') TypeError: Cannot read properties of null (reading 'email')"

I am creating a nav bar that has a login and register feature with firebase authentication. Upon clicking login it will create a button with the first letter of the user email. Upon clicking this ...
RyamaCoding's user avatar
0 votes
0 answers
38 views

why my code is not checking email id when signing up

I am trying to implement sign up with google in next.js. I want to apply a check if the entered email id is already present in the firebase authentication. it should alert the user and move the user ...
Ajay Satpati's user avatar
-1 votes
1 answer
66 views

Manifest V3 chrome extension that authenticates to firebase with user's google account

I'm trying to build manifest V3 chrome extension with React js that should connect to firestore and perform CRUD tasks. The user of the extension should sign In with his existing gmail account. Google'...
Slava709's user avatar
0 votes
1 answer
40 views

how can i set object and array to state at the same time

there is not a problem with data coming from server; when the code activates, i get a problem 'arr[0] is not iterable'. This is object data {a24cx1bs3yov2: {...},b64cx1bs3yo21: {...},c34cx1bs3yoh2: {.....
Dil Ak's user avatar
  • 17
0 votes
0 answers
14 views

React Naive Create Group Chat Firebase Realtime Database

I create a chat app in React Native and Firebase Realtime Database first of all user can chat private that is working fine as well as user can create group chat inside the React Native appp that is ...
ahmad raza's user avatar
1 vote
1 answer
32 views

How to use the getIdToken method of firebase user after page reload in nextjs

I am working on a nextjs project, for user authentications I am using firebase's signInWithPhoneNumber for phone number verification, after successfull verification I get a firebase user which also ...
Abdulla Ahmad's user avatar
0 votes
1 answer
34 views

Title: Firebase Auth Error: Missing Client Identifier [auth/missing-client-identifier] Despite Correct SHA1/SHA256 Configuration

I am encountering an error while trying to send an OTP using Firebase Authentication in my React Native app. The error message I receive is: vbnet Copy code ERROR Error sending OTP: [Error: [auth/...
Farhan's user avatar
  • 1

15 30 50 per page