https://linen.dev logo
Authentication issue: composio login Not Giving co...
# 🖥│support-forum
m
Hey, When I run the composio login command, it redirects me to the following link as shown in the terminal: //app.composio.dev/?cliKey= When I try entering the into the CLI when prompted "Enter authentication code:..." It throws an error saying it’s a different one or invalid. Also when when I click the link //app.composio.dev/?cliKey= it just takes me to: //platform.composio.dev//default There is also no authentication code displayed anywhere on that page, so I’m unable to complete the login process from the CLI. Could you please help me fix this issue
c
Hi Malikou, We’re checking this. In the meantime, you can add
COMPOSIO_API_KEY
to your environment or export it in the terminal and use
composio add <toolkit> directly
.
m
So when I do for example "composio add github" it works perfectly but when I do composio login it does not say I'm already logged in like previously it prompts me to add the authentication code which is weird
c
Yes, we are checking the issue.
The team is looking into this. Since you can add the toolkits, you should be able to work with them. Please let me know if you encounter any issues. I’ll update you regarding the composio login. Thanks!
m
Thank you very much!
I'm unable to use composio actions dur to the fact that I can't log in anymore
Could you please try to see if you can fix this
c
Hey Malikou, Did you get a chance to try adding
COMPOSIO_API_KEY
to your environment or export it in the terminal directly?
m
Yes I did but it is still giving me this Login issue
c
Could you share the error logs?
Just a quick heads up: if
COMPOSIO_API_KEY
is set in the environment or exported on the terminal, you can directly initiate a connection or execute a Tool Call via the SDK.
m
I even made a new account and when I try to login in the terminal (using "composio login") after having both exporting and setting my new COMPOSIO_API_KEY to the .env file it gives me this https://cdn.discordapp.com/attachments/1399300075796041761/1399974621192785980/Screenshot_2025-07-30_at_00.38.37.png?ex=688af377&is=6889a1f7&hm=8f02506b0fbb7850064fecdab5cf5aff2f9549554804367e598c36873ad468fa&
c
Can you try logging in to https://platform.composio.dev/ using Google or email? Please let me know if it works for you. Also, try clearing your cache or cookies if that helps. FYI: You don't need to
composio login
to use Composio SDK. You can just use your API-KEY.
m
It was probably just an issue from the new SDK, but it works now
Thanks for the help!
c
Great! Let me know if you need anything.
4 Views