sebsto/xcodeinstall

Authenticating from SecretsManager with expired session always fails

Closed this issue · 1 comments

Describe the bug
When trying to authenticate using Secrets Manager and there is an expired session store in Secrets Manager, XCI fails (Authentication error) but does not prompt for new credentials. It obliges users to call signout and storesecrets again to unlock

To Reproduce

ec2-user@ip-172-31-5-69 ~ % xcodeinstall authenticate -s us-east-1
Retrieving Apple Developer Portal credentials...
Authenticating...
🛑 Invalid username or password.

Expected behavior
When authentication fails and Secrets Manager is used, the command should ask for credentials again and restart a clean cycle

Desktop (please complete the following information):

  • OS: [e.g. macOS 12.5]
  • xcodeinstall version [e.g. 0.1] : 0.5

Additional context
Only when using Secrets Manager

Closing this as authentication is not required anymore #19