firebase-authentication

com.google.firebase.FirebaseException: An internal error has occurred. [ CONFIGURATION_NOT_FOUND ]

China☆狼群 提交于 2021-02-07 12:16:28
问题 Ok so I get the following exception. No idea why it is happening. I have followed the guides how to set up auth for google account. I tried to search the google but no success of any solution for this. I haved tried to search for the CONFIGURATION_NOT_FOUND but I could not find it in the firebase docs. I don't know what configuration he can't find. Exception is basically useless. Signing in trough firebase is going great until authenticating it with firebase: private void

How do I get the email address of a Firebase user by ID [duplicate]

 ̄綄美尐妖づ 提交于 2021-02-07 11:14:01
问题 This question already has answers here : How do I return a list of users if I use the Firebase simple username & password authentication (7 answers) Closed 4 years ago . I'm using email/password authentication in Firebase. So every user has an email address. My users are in groups, and I want each user to be able to see all the other users in the group. Specifically, I want to display a list of emails in the frontend to the user. My question is not about how to make rules for that, but rather

How do I get the email address of a Firebase user by ID [duplicate]

寵の児 提交于 2021-02-07 11:12:23
问题 This question already has answers here : How do I return a list of users if I use the Firebase simple username & password authentication (7 answers) Closed 4 years ago . I'm using email/password authentication in Firebase. So every user has an email address. My users are in groups, and I want each user to be able to see all the other users in the group. Specifically, I want to display a list of emails in the frontend to the user. My question is not about how to make rules for that, but rather

Why is the req.cookies.session undefined? Firebase + Node + express

徘徊边缘 提交于 2021-02-07 10:16:34
问题 I'm trying to assign a generate a session cookie in exchange for the provided ID token. Here are the docs I'm following. Here is my client side sign-in code: firebase.auth().signInWithEmailAndPassword(email, password) .then(function(user) { firebase.auth().currentUser.getIdToken(/* forceRefresh */ true).then(function(idToken) { return sendToken(idToken); }); }) // .then(() => { // return firebase.auth().signOut(); // }) .then(() => { window.location.assign('/member'); }) .catch(function(error

Why is the req.cookies.session undefined? Firebase + Node + express

ⅰ亾dé卋堺 提交于 2021-02-07 10:16:13
问题 I'm trying to assign a generate a session cookie in exchange for the provided ID token. Here are the docs I'm following. Here is my client side sign-in code: firebase.auth().signInWithEmailAndPassword(email, password) .then(function(user) { firebase.auth().currentUser.getIdToken(/* forceRefresh */ true).then(function(idToken) { return sendToken(idToken); }); }) // .then(() => { // return firebase.auth().signOut(); // }) .then(() => { window.location.assign('/member'); }) .catch(function(error

Spring boot and vueJs authentication with firebase

旧时模样 提交于 2021-02-07 08:29:06
问题 I am trying to implement authentication spring boot in backend and vue Js in front end, the problem is that I have ly backkend connected readonly to a database, so used authentication using vue js and firebase authentication feature. The problem is that my endpoints still accessible and anyone can send requests and fetch data using postman for example ! If anyone has an idea how to resolve that please go ahead, thanks ! PS: i don't think that i may help, but here is my login code anyway,

Spring boot and vueJs authentication with firebase

时间秒杀一切 提交于 2021-02-07 08:28:33
问题 I am trying to implement authentication spring boot in backend and vue Js in front end, the problem is that I have ly backkend connected readonly to a database, so used authentication using vue js and firebase authentication feature. The problem is that my endpoints still accessible and anyone can send requests and fetch data using postman for example ! If anyone has an idea how to resolve that please go ahead, thanks ! PS: i don't think that i may help, but here is my login code anyway,

Firebase getIdToken returns object

血红的双手。 提交于 2021-02-07 08:19:29
问题 I am using redux-saga and redux-saga-firebase library to integrate firebase with redux-sagas. The problem is when I sign in a user, for example with signInWithEmailAndPassword and even connect channel to get the signed user and track user changes, I am not able to get correct token. getIdToken , getIdTokenResult methods just return objects with the following representation: { a: 0 b: qb {a: null, g: ƒ, b: ƒ, f: undefined, next: null, …} c: A {a: 0, i: undefined, c: A, b: qb, f: qb, …} f: qb

Firebase getIdToken returns object

别说谁变了你拦得住时间么 提交于 2021-02-07 08:17:28
问题 I am using redux-saga and redux-saga-firebase library to integrate firebase with redux-sagas. The problem is when I sign in a user, for example with signInWithEmailAndPassword and even connect channel to get the signed user and track user changes, I am not able to get correct token. getIdToken , getIdTokenResult methods just return objects with the following representation: { a: 0 b: qb {a: null, g: ƒ, b: ƒ, f: undefined, next: null, …} c: A {a: 0, i: undefined, c: A, b: qb, f: qb, …} f: qb

Fake users in firebase with @gmail.com accounts

自古美人都是妖i 提交于 2021-02-07 03:27:41
问题 I have a firebase project. The next sign-in methods auth are enabled: Google Facebook Apple Anonymous A mobile app interacts with the firebase. Each day I get some weird new users sign-ups with fake accounts with the pattern: [name][numbers]@gmail.com. They don't do anything except sign up via google oauth once. Is it possible to prevent it? Maybe I missed something with the google oauth configuration? Updated: Also, I noticed that these sign-ups started to occur when I had sent out the