Questions tagged [google-smartlockpasswords]

With the Smart Lock for Passwords API, you can programmatically save and retrieve credentials, and automatically sign users in across devices and websites in Chrome.

Smart Lock for Passwords can be integrated into an Android app, allowing user to automatically sign using the credentials they have saved. Users can save both username-password credentials and federated identity provider credentials.

Integrate Smart Lock for Passwords into your app by using the Credentials API to retrieve saved credentials on sign-in. Use successfully retrieved credentials to sign the user in, or use the Credentials API to rapidly on-board new users by partially completing your app's sign in or sign up form. Prompt users after sign-in or sign-up to store their credentials for future automatic authentication.

117 questions
32
votes
2 answers

How to provide login credentials to an automated android test?

I'm looking for a way to "provide a login" to my app so an automated test "is logged in" and can test the entire app. Currently it's of course blocked by the login-screen. Because I'm using SmartLock for Passwords, this might be a chance to provide…
20
votes
1 answer

App and website saved password is not sync

Google Smart Lock feature implemented in my Android App. I am trying to sync password b/w my website and my Android App. According to This Document :https://developers.google.com/identity/smartlock-passwords/android/associate-apps-and-sites I have…
18
votes
2 answers

Play Services Hint Request cannot display phone numbers when requested

When using the code from google's sms retriever api to first grab the device's phone number, the dialog is shown with a loading spinner, then quickly disappears. In onActivityResult, the resultCode is 1002 and the intent is empty. No documentation…
16
votes
2 answers

Testing Smart Lock for Passwords app integration

I’ve implemented Smart Lock for Passwords in my app. What are some common scenarios and UX flows that I should test out?
12
votes
3 answers

How to use smart lock API in my application to unlock pattern mode?

I am using Android 5.0. The version provides the SmartLock function which allows unlocking the password/pattern by connecting with a trusted device. I have a bluetooth low energy (BLE) device which registered as trusted device. I want to use the BLE…
11
votes
1 answer

How to stop dialog save password to Google?

I have recently created an app which required certain security majors. One of which is that we need to stop the dialog coming from Google when a user logs into the app. The main thing is that password gets saved in google chrome. When a user comes…
Gitesh
  • 163
  • 1
  • 3
  • 11
11
votes
3 answers

Google Smart Lock dialog is not appearing in Android O devices

I recently integrated GoogleSmartLock with my app. Somehow the save dialog is not coming up in Android O devices and the API is throwing following error. The Credentials API's save confirmation dialog has been disabled to avoid conflicts with the…
11
votes
4 answers

Google Smart Lock dialog for saving credentials does not appear when testing

I am trying to save a user's facebook credentials to Google Smart Lock, but I am having difficulty testing. I was able to display the prompt to save once, but after I went into my saved passwords (passwords.google.com) and deleted the saved…
10
votes
1 answer

Adding Google smart lock to a website only

Google Smart Lock on a website I just visited Pinterest and it has a cool feature. Somehow when I visit the site Chrome can "see" that I have an account. And instead of passively waiting it informs me pro-actively: you do have an account here: would…
snh_nl
  • 2,877
  • 6
  • 32
  • 62
7
votes
1 answer

Firebase AuthUI Smartlock Cleanup

In Firebase, I am using AuthUI for Sign In. I tried FirebaseAuth.getInstance.signout() to remove the current user credentials, but I think maybe for Google SmartLock credentials, it's not signing out. Help me out. My Code: mAuthStateListener = new…
7
votes
2 answers

Multiple Smart Lock dialogs on orientation change

I recently integrated Google's Smart Lock for Passwords feature into my app and almost everything is running smoothly as expected. There is just one small issue I was not able to fix yet: In ResultCallback#onResult, if status.getStatusCode() ==…
7
votes
1 answer

Store Facebook Credential in Android for Google Smart Lock Password

Store Facebook Credential in Google Smart Lock Password I was able to store basic username/password credentials in Smart Lock Password. There is plenty of documentation and examples for Google credentials: GoogleSignInAccount gsa =…
Rui
  • 936
  • 10
  • 21
6
votes
2 answers

16: Skipping password saving since the user is likely prompted with Android Autofill

I am integrating google smart lock in my android application but in some devices i am getting this error when trying to save credentials to google. I am using following code to save credentials - Credential credential = new…
6
votes
3 answers

How to hint Google Smart Lock to use a specific input field as the username in a website

I've been trying to search for some documentation on how to hint Google Smart Lock for Chrome to use a specific input field as the one associated with the username without any luck. For the password it works perfectly as it is using type="password"…
5
votes
0 answers

Google smart lock across multiple apps not work

we are trying to enable automatic sign-in across apps and websites in our app according to the doc Currently, we have done Added the content related to our app to the Digital Assets Link JSON file Added asset_statemenets to the manifest file Added…
Garry
  • 193
  • 1
  • 5
1
2 3 4 5 6 7 8