question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] [Mac] Sign in with Apple isn't auto-filling the Apple ID on Xamarin.Mac

See original GitHub issue

Which Version of MSAL are you using ? Version 4.22.0 of Microsoft.Identity.Client and also Microsoft.Identity.Client.Extensions.Msal 2.16.5

Platform Xamarin.Mac

What authentication flow has the issue? Desktop (Xamarin.Mac), when using a sign-in with Apple user policy defined in Azure B2C, e.g. https://github.com/azure-ad-b2c/samples/tree/master/policies/sign-in-with-apple

I’ve tried using both WithUseEmbeddedWebView(true) and WithUseEmbeddedWebView(false) in the PublicClientApplication

Is this a new or existing app? Existing app

The sign-in flow works correctly. However when signing in with Apple, even if logged in to Apple and iCloud on the Mac, the user still needs to enter their Apple ID when logging in. We would like the Apple ID to be automatically filled in this case when signing in.

I don’t know if it is expected for the ID to be auto-filled by the OS, however Apple have recently rejected our app on the basis that: “The app asks for Apple ID when the user selects to sign in with Apple and iCloud account is set up.”

I’m wondering if Apple are wrong here to expect that the Apple ID will be auto-populated in the app when using “Sign-in with Apple”?

Can you let me know if this is a bug, or if there is something we need to do differently on our end to allow sign-in with Apple to work automatically from the app (when the user is signed in to a Mac/iCloud already with their Apple ID)?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jennyf19commented, Dec 12, 2020

@kevcrooks sorry for the delay. we are working on getting some help from the people working on Apple sign-in.

0reactions
bgavrilMScommented, Dec 22, 2021

Please open a case on the Azure portal, as this is a service issue. The SDK does not control the content of the browser.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to login to Apple Developer account for Xamarin ...
In the Tools/Options/Xamarin/Apple Developer Account option, when I enter my username and password to connect to the Apple developer account ...
Read more >
Implementing User Authentication with Sign in with Apple
This sample app, Juice, uses the Authentication Services framework to provide users an interface to set up accounts and sign in with their...
Read more >
Unable to add Apple ID in VS2017 and VS2019 Xamarin ...
I understand the error must be because I can't add my Apple ID in Visual Studio. Error in VS2017: -I select iOS Options...
Read more >
Can't add appleid to Visual Studio for Mac
Hi! I'm developing an iOS app on macOS Carolina 10.15.7 with Xamarin and Visual Studio for Mac 8.10.11 (build 8).
Read more >
Apple Account Management - Xamarin
Go to Visual Studio > Preferences > Apple Developer Account and click the + button to open the sign in dialog: Enter your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found