firebase-authentication

How can I disable smart lock for passwords auto login request after Firebase Auth UI sign out?

拜拜、爱过 提交于 2020-12-29 17:00:32
问题 I'm building a single activity Android app in an attempt to follow Google's recommendations. I'm using FirebaseAuth UI for authentication which apparently uses 'Smart Lock for Passwords' to save the credentials into your google account. My sign out function looks like this: private fun signOutUser(){ AuthUI.getInstance() .signOut(this) .addOnCompleteListener { Timber.i("Sign out completed") } sharedViewModel.setUser(null) } However, once the sign out finishes, the UI immediately starts the

How can I disable smart lock for passwords auto login request after Firebase Auth UI sign out?

半世苍凉 提交于 2020-12-29 17:00:27
问题 I'm building a single activity Android app in an attempt to follow Google's recommendations. I'm using FirebaseAuth UI for authentication which apparently uses 'Smart Lock for Passwords' to save the credentials into your google account. My sign out function looks like this: private fun signOutUser(){ AuthUI.getInstance() .signOut(this) .addOnCompleteListener { Timber.i("Sign out completed") } sharedViewModel.setUser(null) } However, once the sign out finishes, the UI immediately starts the

How can I disable smart lock for passwords auto login request after Firebase Auth UI sign out?

…衆ロ難τιáo~ 提交于 2020-12-29 16:59:41
问题 I'm building a single activity Android app in an attempt to follow Google's recommendations. I'm using FirebaseAuth UI for authentication which apparently uses 'Smart Lock for Passwords' to save the credentials into your google account. My sign out function looks like this: private fun signOutUser(){ AuthUI.getInstance() .signOut(this) .addOnCompleteListener { Timber.i("Sign out completed") } sharedViewModel.setUser(null) } However, once the sign out finishes, the UI immediately starts the

How to customize firebase action URL for password reset and email verification?

孤街浪徒 提交于 2020-12-29 07:52:10
问题 I'm new to firebase and I Want to know how to customize action URL for the password reset and email verification mail. For Example https://app.firebaseapp.com/__/auth/action // here I Don't want firebaseApp.com. So how to do I Customize this action URL from firebase.? Please help me as I am new to firebase. any help would be appreciated 回答1: You may refer to the "Customize the sender domain" section in the Firebase support article https://support.google.com/firebase/answer/7000714?hl=en 回答2:

Unable to hide the Title bar of Authorization Activity using FirebaseUI

情到浓时终转凉″ 提交于 2020-12-29 06:48:06
问题 I tried to use the following style <style name= "AuthStyle"> <item name="android:windowBackground">@drawable/culture</item> <item name="android:windowActionBar">false</item> <item name="android:windowNoTitle">true</item> </style> and then I applied the above style here: startActivityForResult(AuthUI.getInstance() .createSignInIntentBuilder() .setProviders(AuthUI.EMAIL_PROVIDER, AuthUI.FACEBOOK_PROVIDER, AuthUI.GOOGLE_PROVIDER) .setTheme(R.style.AuthStyle) .build() ,1); However,the title bar

Android : How to get larger profile pic from Facebook using FirebaseAuth?

ぐ巨炮叔叔 提交于 2020-12-27 07:54:26
问题 I am using FirebaseAuth to login user through FB. Here is the code: private FirebaseAuth mAuth; private FirebaseAuth.AuthStateListener mAuthListener; private CallbackManager mCallbackManager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); FacebookSdk.sdkInitialize(getApplicationContext()); // Initialize Firebase Auth mAuth = FirebaseAuth.getInstance(); mAuthListener = firebaseAuth -> { FirebaseUser user = firebaseAuth.getCurrentUser(); if

Android : How to get larger profile pic from Facebook using FirebaseAuth?

久未见 提交于 2020-12-27 07:51:35
问题 I am using FirebaseAuth to login user through FB. Here is the code: private FirebaseAuth mAuth; private FirebaseAuth.AuthStateListener mAuthListener; private CallbackManager mCallbackManager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); FacebookSdk.sdkInitialize(getApplicationContext()); // Initialize Firebase Auth mAuth = FirebaseAuth.getInstance(); mAuthListener = firebaseAuth -> { FirebaseUser user = firebaseAuth.getCurrentUser(); if

Flutter Firebase Authentication emulator enabling

余生长醉 提交于 2020-12-27 06:30:08
问题 I'm trying to hook the Firebase Authentication emulator to my Flutter mobile project to perform some local testing. Unfortunately it seems it is not possible to do with the FlutterFire plugin. There is no problem whatsoever to enable Firestore or Cloud Functions emulators, but I can not find a way for Authentication. Is there someone with ideas or best practices to follow? 回答1: It looks like the method to connect to the Authentication emulator hasn't made it to the FlutterFire libraries yet.

Get uid in firebase function onFinalize for firebase storage

人盡茶涼 提交于 2020-12-27 06:28:39
问题 I use the firebase JS sdk to upload audio files to firebase-storage. When this happens I need to process it based on the authenticated user doing the uploading (I upload it somewhere else for processing). This means I need to have access to the uid after it has been validated by storage rules, to keep it safe. While researching this I found workarounds such as using the metadata to send the user's ID token but in my opinion this is a bad idea as it's possible to abuse. I found this question

Flutter Firebase Authentication emulator enabling

守給你的承諾、 提交于 2020-12-27 06:27:32
问题 I'm trying to hook the Firebase Authentication emulator to my Flutter mobile project to perform some local testing. Unfortunately it seems it is not possible to do with the FlutterFire plugin. There is no problem whatsoever to enable Firestore or Cloud Functions emulators, but I can not find a way for Authentication. Is there someone with ideas or best practices to follow? 回答1: It looks like the method to connect to the Authentication emulator hasn't made it to the FlutterFire libraries yet.