xcodes icon indicating copy to clipboard operation
xcodes copied to clipboard

Error with company controlled AppleID

Open cbazza opened this issue 1 year ago • 6 comments

Just installed xcodes from brew and tried downloading xcode 16.1 and after providing correct creds this is what I get: image

cbazza avatar Dec 16 '24 21:12 cbazza

@cbazza see pinned issue: https://github.com/XcodesOrg/xcodes/issues/395#issue-2624226924 - workaround for now is to change your password.

This should hopefully be fixed via https://github.com/XcodesOrg/xcodes/pull/398 at some point in the future.

MattKiazyk avatar Dec 16 '24 22:12 MattKiazyk

@MattKiazyk Thank you for the quick reply.

Just to clarify my company AppleID is integrated into our SSO (Microsoft) which also requires Authenticator app (6 digit code). When I go to change AppleID password, it sends me to Microsoft site for that so changing password is invisible to Apple. I can only see this working if after providing AppleID (email address) it went to the same sequence of popups I go through when logging in to Apple connect for example.

cbazza avatar Dec 17 '24 14:12 cbazza

If possible, can you install the Xcodes app and see if you can log in with that. If you can it would tell me that P is the fix.

MattKiazyk avatar Dec 17 '24 14:12 MattKiazyk

Same issue here. Tried with both CLI and the app. As @cbazza says, we're using company-managed Apple IDs. When I sign into App Store Connect, I enter my work email and it redirects me to Okta to complete sign-in. There is no Apple password to reset. In order to auth to xcodes, we'd need it to open a browser and handle the SSO auth flow correctly, similarly to how the GitHub or AWS CLIs do it.

Image

jmccance avatar Mar 27 '25 15:03 jmccance

same thing for me but I'm using a personal account.

Changed my pw but still happening

StephenHodgson avatar May 08 '25 07:05 StephenHodgson

Adding the term "single sign-on" to the comments to help people find it a little easier. Sadly, doesn't resolve it, but hopefully it will reduce duplicate issues.

jlafond-chwy avatar Jul 24 '25 18:07 jlafond-chwy