xamarin / Essentials

Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
https://aka.ms/xamarin-upgrade
Other
1.52k stars 505 forks source link

Web Authenticator Apple sign In still remembering account after selecting "Stop using Apple ID" for app [Bug] #1249

Open conor-codes opened 4 years ago

conor-codes commented 4 years ago

Description

When using the xamarin essentials web authenticator property "AppleSignInAuthenticator.AuthenticateAsync();" The first time a user signs in they have the option to receive the users email. Any sign in after this the email is not provided as expected, but if you stop using the Apple ID sign in it should behave like like the users first attempt at signing in. Instead it still remembers the last account even after it was removed from it's security and password permissions

Steps to Reproduce

  1. Using the AppleSignInAuthenticator.AuthenticateAsync(); property sign in the apple id.
  2. Logout of your app and sign back in with apple ID, it will remember the last account you signed in with.
  3. Log out again, on iOS go to settings -> Apple ID settings -> Password & security -> Apple ID Logins -> Your app -> Click "Stop using Apple ID".
  4. Open your app and sign in with apple ID, it will remember the last account you signed in with even though it's been removed.

Expected Behavior

Once the option "Stop using apple ID" has been selected, the user should sign in with apple ID as a new account.

Actual Behavior

Once the option "Stop using apple ID" has been selected, the app is still remembering the last used account.

Basic Information

Screenshots

Reproduction Link

jamesmontemagno commented 4 years ago

I am not seeing any API to do something like this: https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidprovider I assume apple handles it automatically..... So would need to test this with native logic code instead of essentials.

According to the site: If you choose to use Sign in with Apple again, you're signed in to the same account you previously used.

sooo I think it is working as expected... https://support.apple.com/en-us/HT210426