Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login on Passkeys.eu #61

Open
rajakeenu opened this issue Apr 25, 2024 · 11 comments
Open

Unable to login on Passkeys.eu #61

rajakeenu opened this issue Apr 25, 2024 · 11 comments

Comments

@rajakeenu
Copy link

When I created an account on iOS and tried to log in from Android, it didn't work. But when I created an account on Android and then logged in from iOS, it worked fine using your website passkeys.eu.

Why am I unable to log in from Android after creating an account using an iOS device?

@vincentdelitz
Copy link
Contributor

Hey @rajakeenu,

Are you talking about a Flutter where you want to login or the Corbado demo web app at passkeys.eu?

@rajakeenu
Copy link
Author

rajakeenu commented Apr 25, 2024 via email

@rajakeenu
Copy link
Author

One more issue I am facing is that my assetlink file is not publically available so because of this fido is not opening in Redmi mobile but when I am trying same thing of samsung mobile using samsung passkeys it is working how it is possible , If I will do fido authentication using gmail on samsung it is not working but same thing working on samsung passkeys key.

It this exception except samsung passkey PlatformException(android-unhandled:_androidx.credentials.TYPE_CREATE_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION/androidx.credentials.TYPE_SECURITY_ERROR,_The_incoming_request_cannot_be_validated,_The_incoming_request_cannot_be_validated,_null)

@vincentdelitz
Copy link
Contributor

@rajakeenu I think you're describing two different problems and two different applications, right?

  1. The first problem is regarding the creation of a passkey in our demo at https://passkeys.eu. This is a standalone web app hosted by us (not built in Flutter) and has nothing to do with any native app. Regarding the different behavior on Android & iOS. Here it depends in which passkey provider you create+store the passkey. If you use the default, it's iCloud Keychain on iOS and Google Password Manager on Android. So, actually sharing a passkey between these two passkeys providers is not possible (independent in which you created the passkey and where you tried to login). What happens in the demo that we allow to create another passkey after successful email OTP confirmation. Is that what you did?
  2. Regarding the second option. Are you hosting the assocation file yourself or are you using our hosted relying party server?

@rajakeenu
Copy link
Author

rajakeenu commented May 2, 2024

In a Flutter app on iOS, after signing up for an account using passkeys, when attempting to log in, why does it log in with Samsung mobile using Samsung Passkey?
Also ,

When you sign up for an account in a Flutter app on Android and use Google Password Manager, why does it login with Samsung Passkeys on Samsung devices?

@vincentdelitz
Copy link
Contributor

@rajakeenu apparently Samsung Pass is set up to be your passkey provider / passkey management system. Usually, there is a dialogue in the passkey creation screen, where you can switch the passkey provider. The default passkey provider can be changed in your device settings.

@rajakeenu
Copy link
Author

@vincentdelitz The issue we are facing while using Samsung Pass is that if I sign up for an account using Google Password Manager, it automatically signs in on Samsung devices using Samsung Pass. How can I stop this?

@vincentdelitz
Copy link
Contributor

You can change the default passkey provider in the settings:
image

@rajakeenu
Copy link
Author

@vincentdelitz, let me explain. I'm developing a payment app where users can add their accounts using Passkey registration and do payments using the Passkey authentication. The issue arises when a user links their account via a Redmi device (Google password manager) but later logs in on a Samsung device using the same account. When making a payment, the Samsung Passkey is prompted, and the user successfully authenticates the transaction. How is this possible when the user initially linked their account using Google password manager?

@rajakeenu
Copy link
Author

@vincentdelitz , let me explain. I'm developing a payment app where users can add their accounts using Passkey registration and do payments using the Passkey authentication. The issue arises when a user links their account via a Redmi device (Google password manager) but later logs in on a Samsung device using the same account. When making a payment, the Samsung Passkey is prompted, and the user successfully authenticates the transaction. How is this possible when the user initially linked their account using Google password manager?

@vincentdelitz
Copy link
Contributor

@rajakeenu thanks for the additional information.

That's indeed very interesting and from what you have described, it should not be possible. Can you delete all the passkeys from Google Password Manager and Samsung Pass, set up a new account and share screenshots from the behavior? Are you sure that there were not two passkeys added to this account?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants