-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Expected Behaviour
aio login completes successfully
Actual Behaviour
aio login yields this message
aio login
› Error: Cannot get token for context 'onboarding-config': [IMSSDK:CONTEXT_NOT_CONFIGURED] IMS context 'onboarding-config' is not configured
aio login --force does not help and yields
aio login --force
› Error: Cannot get token for context 'onboarding-config': [IMSSDK:CANNOT_GENERATE_TOKEN] Cannot generate token because no plugin supports configuration:
› [plugin:jwt]: [IMSJWTSDK:MISSING_PROPERTIES] JWT not supported due to some missing properties: client_id,client_secret,technical_account_id,meta_scopes,ims_org_id,private_key
› [plugin:oauthSTS]: [IMSOAuthSDK:MISSING_PROPERTIES] OAuth2 not supported due to some missing properties: client_id,client_secrets,technical_account_email,technical_account_id,scopes,ims_org_id
› [plugin:cli]: [IMSOAuthSDK:MISSING_PROPERTIES] OAuth2 not supported due to some missing properties: cli.bare-output
› [plugin:oauth]: [IMSOAuthSDK:MISSING_PROPERTIES] OAuth2 not supported due to some missing properties: client_id,client_secret,scope
The workaround that seems to work is
rm -rf .aio
aio login --force
Reproduce Scenario (including but not limited to)
The issue seems to appear when the same project is used for logging in and out to different Orgs/Projects/Workspaces.
Steps to Reproduce
aio login
aio login --force
Environment Info
System:
OS: macOS 15.5
CPU: (10) arm64 Apple M1 Max
Memory: 263.55 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.15.0 - ~/.nvm/versions/node/v20.15.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.15.0/bin/yarn
npm: 10.9.0 - ~/.nvm/versions/node/v20.15.0/bin/npm
Virtualization:
Docker: 27.4.0 - /usr/local/bin/docker
npmGlobalPackages:
@adobe/aio-cli: 10.3.4
Sample Code that illustrates the problem
Logs taken while reproducing problem
Metadata
Metadata
Assignees
Labels
No labels