Apple now requires two-factor authentication on all Apple Developer Program accounts:
In an effort to keep your account more secure, two-factor authentication will be required to sign in to your Apple Developer account and Certificates, Identifiers & Profiles starting February 27, 2019. This extra layer of security for your Apple ID helps ensure that you're the only person who can access your account. If you haven't already enabled two-factor authentication for your Apple ID, please learn more and update your security settings.
discussion about that change is aggregated here:
https://mjtsai.com/blog/2019/02/14/developer-apple-ids-to-require-two-factor-authentication/
This requirement presents a problem for people who are signed in to a personal Apple ID on their devices, but who use a separate company Apple ID for their Organization Apple Developer Account.
Ideally you could use a generic 2FA code generator, but that is not currently possible for Apple ID:
Ability to add non-SMS non-Apple 2FA to an Apple ID?
Best Answer
Both iOS and Mac devices can sign in to multiple Apple ID accounts:
Your single device is able to generate 2FA codes for all of the signed-in Apple ID accounts, not just the main iCloud account.
The key is:
You must first enable 2FA for an Apple ID by using it to sign in as the main iCloud account on a device.
If you have access to a Mac, you do NOT need to sign out of your iCloud account on your iOS device or personal Mac user account (a disruptive change that should be avoided if possible).
Instead, use the workflow:
Settings > Passwords & Accounts > Add Account
System Preferences > Internet Accounts > +
Once permission has been granted, the secondary Apple ID will be signed in on your iOS or Mac device as a lesser Apple ID used for syncing Mail, Calendars, etc. You can turn off all of those syncing services, in which case the Apple ID will be labeled
inactive
.Your iOS device and/or main Mac user account is now a Trusted Device, and can be used to generate 2FA codes for both your personal Apple ID as well as the newly added secondary/company Apple ID.
Once this device is Trusted, you can delete the temporary Mac user account.