firebase-authentication

Firebase provider sign-in is not working inside facebook/messenger/instagram in-app browser webview. Error 403: disallowed_useragent

拟墨画扇 提交于 2021-01-27 04:22:13
问题 my team uses firebase auth and we recently run into major problems. We started advertising our website on facebook. Unfortunately, facebook app opens all the links in the in-app webview. Google blocked support for signing in with provider through embedded browser, so none of the users that opens our webapp through facebook/messenger/instagram apps can sign in. Google/Facebook sign-in returns 403: disallowed_usegagent and it is impossible to sign up. Is there any workaround? Has anyone

Firebase provider sign-in is not working inside facebook/messenger/instagram in-app browser webview. Error 403: disallowed_useragent

旧巷老猫 提交于 2021-01-27 04:20:25
问题 my team uses firebase auth and we recently run into major problems. We started advertising our website on facebook. Unfortunately, facebook app opens all the links in the in-app webview. Google blocked support for signing in with provider through embedded browser, so none of the users that opens our webapp through facebook/messenger/instagram apps can sign in. Google/Facebook sign-in returns 403: disallowed_usegagent and it is impossible to sign up. Is there any workaround? Has anyone

What use case has the reload() function of a FirebaseUser in flutter?

▼魔方 西西 提交于 2021-01-26 04:14:44
问题 What is the method .reload() from the FirebaseUser used for? Locally the function doesn't change any data, and with Firestore.instance.currentUser() i would always get the current data, wouldn't I? From the docs: public Task reload () Manually refreshes the data of the current user (for example, attached providers, display name, and so on). So I originally thought after calling user.reload() the output would be: "name of user: bar" and not "name of user: foo". So for me it seems like it doesn

What use case has the reload() function of a FirebaseUser in flutter?

旧时模样 提交于 2021-01-26 04:14:44
问题 What is the method .reload() from the FirebaseUser used for? Locally the function doesn't change any data, and with Firestore.instance.currentUser() i would always get the current data, wouldn't I? From the docs: public Task reload () Manually refreshes the data of the current user (for example, attached providers, display name, and so on). So I originally thought after calling user.reload() the output would be: "name of user: bar" and not "name of user: foo". So for me it seems like it doesn

How to add user UID in the place of firestore document ID

隐身守侯 提交于 2021-01-24 11:42:45
问题 i'm trying to get user UID in the place of auto generated document ID in Firebase/Firestore but can't get it because of this error TypeError: firebase.auth(...).currentUser is null this is my index.js file:- // Firestore Cloud Database var db = firebase.firestore(); function reg(){ //window.alert("Working..!"); const txtname = document.getElementById('txtuname').value; const txtEmail = document.getElementById('txtemail').value; const txtPass = document.getElementById('txtpass').value; /

How to setup sendSignInLinkToEmail() from Firebase in react-native?

最后都变了- 提交于 2021-01-22 05:08:12
问题 Working on a react-native project using @react-native-firebase/app v6 we recently integrated signing in with a "magic link" using auth.sendSignInLinkToEmail We couldn't find a good example on how to setup everything in react-native and had different problems like - auth/invalid-dynamic-link-domain - The provided dynamic link domain is not configured or authorized for the current project. - auth/unauthorized-continue-uri - Domain not whitelisted by project Searching for information and

How to setup sendSignInLinkToEmail() from Firebase in react-native?

南楼画角 提交于 2021-01-22 05:06:54
问题 Working on a react-native project using @react-native-firebase/app v6 we recently integrated signing in with a "magic link" using auth.sendSignInLinkToEmail We couldn't find a good example on how to setup everything in react-native and had different problems like - auth/invalid-dynamic-link-domain - The provided dynamic link domain is not configured or authorized for the current project. - auth/unauthorized-continue-uri - Domain not whitelisted by project Searching for information and

How to setup sendSignInLinkToEmail() from Firebase in react-native?

一曲冷凌霜 提交于 2021-01-22 05:06:43
问题 Working on a react-native project using @react-native-firebase/app v6 we recently integrated signing in with a "magic link" using auth.sendSignInLinkToEmail We couldn't find a good example on how to setup everything in react-native and had different problems like - auth/invalid-dynamic-link-domain - The provided dynamic link domain is not configured or authorized for the current project. - auth/unauthorized-continue-uri - Domain not whitelisted by project Searching for information and

How to setup sendSignInLinkToEmail() from Firebase in react-native?

笑着哭i 提交于 2021-01-22 05:06:35
问题 Working on a react-native project using @react-native-firebase/app v6 we recently integrated signing in with a "magic link" using auth.sendSignInLinkToEmail We couldn't find a good example on how to setup everything in react-native and had different problems like - auth/invalid-dynamic-link-domain - The provided dynamic link domain is not configured or authorized for the current project. - auth/unauthorized-continue-uri - Domain not whitelisted by project Searching for information and

Unable to assign iam.serviceAccounts.signBlob permission

隐身守侯 提交于 2021-01-21 07:10:21
问题 TLDR; I'm having trouble assigning an IAM permission to a service account. I'm building a test that involves minting custom tokens with firebase Auth. When I hit: const token = await admin.auth().createCustomToken('test', { isAdmin: true, }) the following error is thrown Permission iam.serviceAccounts.signBlob is required to perform this operation on service account projects/-/serviceAccounts/dashboard@appspot.gserviceaccount.com.; Please refer to https://firebase.google.com/docs/auth/admin