Getting error while doing foge login

Hi Experts,

I am creating my first app. I am getting error while running forge login command.

Any suggestion for this error?

Error:
Next, enter your Atlassian API token. If you don’t have a token, visit this URL to create one:
https://id.atlassian.com/manage/api-tokens

? Enter your Atlassian API token: [hidden]

✕ Logging you in…

Error: The CLI couldn’t securely store your login credentials in a local keychain. Ensure you have libsecret installed. If a local keychain is not available, use environment variables before trying again. See https://go.atlassian.com/dac/platform/forge/getting-started/#log-in-with-an-atlassian-api-token for more.

Hi,

I have fixed the problem by setting environment variable in Github codespase.

FORGE_EMAIL
FORGE_API_TOKEN

Reference Link:

2 Likes