expo / expo/eas-cli

Cannot login to an Apple Developer account with security keys enabled

Open
#3,193 24 comments 8 reactions 1 assignee Claimed by @EvanBacon View on GitHub
issue accepted
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### Summary

It is currently impossible to sign into an Apple ID with Security Keys as a 2FA method using `eas` or any Expo cli. The following error is returned:
```
Authentication with Apple Developer Portal failed!
UnexpectedAppleResponse: Apple servers indicated Two-factor authentication or Two-step verification are required, but Expo cannot handle the
response: [object Object]
```

The only remedy for this right now is to remove security keys from the Apple ID.

### What platform(s) does this occur on?

_No response_

### SDK Version

_No response_

### Environment

expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.1
Shell: 3.6.0 - /opt/homebrew/bin/fish
Binaries:
Node: 18.14.0 - ~/.nvm/versions/node/v18.14.0/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 9.3.0 - /opt/homebrew/bin/npm
Watchman: 2022.02.28.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9477386
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
npmGlobalPackages:
eas-cli: 3.6.0
expo-cli: 6.3.1

### Minimal reproducible example

1. Add Security Keys to an Apple ID in Settings > Apple ID > Password & Security
2. Try to login when interacting with expo/eas
3. Observe an error

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.