This issue should be resolved with macOS Ventura 13.2
Answer from Ezekiel on Stack ExchangeThis issue should be resolved with macOS Ventura 13.2
I've had a similar problem with a client using an earlier operating system. We had to resort to Apple Tech Support on a telephone call.
Now that you've updated to the most recent operating system, I suggest signing out of your Apple ID and then signing in again. To do this, in System Settings tap your name. Scroll to the bottom of the pane and click Sign Out.
Note: if you use iCloud Drive for storage, or Mail, Contacts, Calendars, etc. you will be asked what you want to do with that data before logging out. Here's more info.
https://support.apple.com/guide/mac-help/sign-apple-settings-mac-mh36825/13.0/mac/13.0
If that doesn't clear the error, I would suggest calling Apple Support. They will connect you with the team that specializes in Apple ID. The geniuses at the stores are not allowed to do Apple ID stuff, so I'd start with a call.
I’ve been asked to enter a password for “(null)”, on my Mac
What does password for (null) mean? I’ve tried entering my
Apple ID “(null)” and unable to sign-out - Apple Community
Password in null - Apple Community
With Sign in with Apple, you only get the email/name on first login. It's your responsibility to then store that information. Source:
The identification servers return the user status only when the user first uses Sign in with Apple with your app. Subsequent attempts don’t return any information for this user status, such as after a disconnect and reconnect occurs or from other devices.
https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_rest_api/authenticating_users_with_sign_in_with_apple
Also: https://developer.apple.com/forums/thread/121496
In terms of logging out, you don't necessarily do this with Sign in With Apple. If you're storing credentials on the device, you should purge them from wherever they're being stored. Also, if you're using the credentials for another service (like Firebase), you can certainly log out of that service.
You don't say what library you're using for this, but if it's react-native-apple-authentication, you may want to refer to this thread about logout behavior: https://github.com/invertase/react-native-apple-authentication/issues/10#issuecomment-611532131
If on an iOS device, the user can revoke Sign In With Apple access via the Settings app. See also this related SO question: Logout from Apple-Sign In
Apple will give the user name and email of the login user for the first time only, so we have to store the user data to the web servers of our data sources to fetch the user data from the auth id. otherwise, we have to delete the log from the apple login settings to fetch user data again.