All Questions
Tagged with firebase-admin firebase-authentication
584 questions
0
votes
2
answers
119
views
How to shorten the expiration time on Firebase auth tokens for login session?
I am trying to test my refresh token logic using Firebase auth but waiting an hour for it to expire is maddening. The documentation doesn't seem to mention anything about customizing the time: https://...
1
vote
0
answers
129
views
Firebase failing to authenticate token
I'm using Firebase on my front-end to register a user, then sending the token to the backend to sync it with my back-end database. I have the following simple snippet:
let _result: FirebaseUser = ...
0
votes
0
answers
29
views
Firebase Authentication incorrectly invalidating tokens generated with signInWithEmailAndPassword
I am developing a system, and I'm currently handling the authentication of users. Here, I'd like users to sign in with their email and password using Firebase. Using the user credentials generated ...
0
votes
0
answers
57
views
Google authentication failed: Firebase ID token has incorrect \"aud\" (audience) claim
I’m encountering an issue with Firebase authentication on my backend. My frontend team and I are using Firebase Authentication to authenticate users with Google, but I’m getting the following error:
...
0
votes
1
answer
55
views
SSR Auth through FirebaseServerApp fails when using Website restrictions on Firebase API keys
I am trying to get server-rendered data containing user information. I am using a service worker to attach an "Authorization" header including the Firebase Auth idToken as described in ...
0
votes
0
answers
39
views
Error trying to verify token generated by Firebase ADMIN SDK
I'm trying to verify a token generated by Firebase ADMIN. Here's the flow:
A function in Firebase ADMIN is called.
const additionalClaims = { veiculoId, sinistroId };
const token = await getAuth()....
0
votes
1
answer
40
views
Flutter & Next.js React Communication - Firebase ID Token Immediately “Invalid or Expired” in Next.js/Node Despite Being Fresh
I have a Flutter app that signs users in with Firebase Auth. Right after sign-in, I call:
final user = FirebaseAuth.instance.currentUser;
final idToken = await user?.getIdToken();
Then I send that ...
0
votes
1
answer
40
views
Provider and identifier columns of firebase authentication table is empty after user is logged in with `signInWithCustomToken`
In my nextjs project, by using next-auth v5 (with firebase adapter) I'm trying to log user in by calling signInWithCustomToken alongside providing some claims that shows user has been authenticated ...
1
vote
2
answers
67
views
Why does Firebase Authentication allow new user sign up in the frontend?
I am new to Firebase Authentication.
I am building a web application with ReactJS frontend, Spring backend, PostgreSQL database and plan to use Firebase for email and password authentication.
I have ...
0
votes
1
answer
41
views
Firebase email confirmation is not working
Firebase email confirmation is not working
I have set up email sending in Firebase Auth.
The email arrives, but after clicking the generated link, the email_verified flag remains false.
Here is my ...
0
votes
1
answer
100
views
How to generate AdminSDK (ADC) credentials for firebase auth using terraform?
i lastly tried to setup a google project using terraform with a backend that should consume a firebase auth instance for verification. Herefor i need a credentials file that is usually generated in ...
1
vote
1
answer
208
views
auth/internal-error | Your application is authenticating by using local Application Default Credentials
During development, I am currently only setting GOOGLE_CLOUD_PROJECT=project-dev with my personal account [email protected] logged in with gcloud. [email protected] is also allowed to impersonate project-...
0
votes
0
answers
123
views
Best Way To Authenticate Firebase JWT in ASP.NET Core 6 Web API
I have an ASP.NET Core 6 Web API that I want to authenticate a Firebase JWT within during the request pipeline. I have reviewed this page https://firebase.google.com/docs/auth/admin/verify-id-tokens#c ...
2
votes
2
answers
146
views
TypeError with Firebase Functions Auth Trigger in v6.1.0
I'm trying to set up a Firebase Auth trigger for user deletion using Firebase Functions v6.1.0, but I'm getting a TypeError. Here's my minimal reproduction case:
const functions = require('firebase-...
0
votes
1
answer
47
views
Turn off sending verificaiton email when creating user
I am using firebase authentication in my react-native app developing.
When I create user using firebase authentication, firebase sends verification email automatically.
But I want firebase not to send ...