fastlane / fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps
https://fastlane.tools
MIT License
39.66k stars 5.72k forks source link

Can app-specific password be used for developer portal login? #14377

Closed 0x5e closed 5 years ago

0x5e commented 5 years ago

Two-step/two-factor auth is really unfriendly to ci system. I have a requirement to login varies of apple accounts to create certificate, create/edit appid, create/update mobileprovision (in ci system), just like Cydia Impactor do. It has capability to login with app-specific password, is it possible that spaceship can support app-specific password login for apple developer portal too?

fastlane-bot commented 5 years ago

It seems like you have not included the output of fastlane env

To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env :+1:

jaimeohm commented 5 years ago

@0x5e I'm pretty sure I'm doing this using the environment variable "FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD". I hope this helps!

jaimeohm commented 5 years ago

Ah! I see you're looking for the developer portal, not appstoreconnect. I'm using match and I've created a different branch for each team I need to login to. This direction might work for your needs, too.

0x5e commented 5 years ago

@jackbrown actually i'm create certificate for my customers' accounts, they are not developers, and there's always new accounts added in. branches may not suit me. two-factor login works fine at present, if app-specific can be used will be much better. :-)

janpio commented 5 years ago

App specific password only work for uploading binaries, as this is done via an external app. All the metadata or codesigning stuff uses an API that does not accept app specific passwords.

jaimeohm commented 5 years ago

@0x5e I use match to manage my certificates for multiple customers. See "Multiple teams" at this link "https://docs.fastlane.tools/actions/match/" for scripting the developer portal.