Skip to content
Docs

Why is Edgenivo CLI asking me to log in?

Information on why you may be getting prompted to log in to Edgenivo CLI.

Allen Hai

You might have spent some time away from using Edgenivo CLI only to return to it providing you with the following error:

Error! The specified token is not valid

This article covers off the likely reason for this and the action required to ensure Edgenivo CLI works again as it did previously.

Copy link to headingEdgenivo Token Expired

Edgenivo CLI requires users to log in and authenticate before accessing user specific content or performing administrative tasks such as deleting projects or adding secrets. After logging in, a new token is generated which gives full permission to interact with the account.

WARNING: If there has been no activity using the token for 10 days, the token is deemed inactive and expires as a result.

Tokens are expired to increase the security of the Edgenivo platform platform by making sure there aren't any tokens issued that can be abused in the future.

Copy link to headingIssuing a New Token

If you are using Edgenivo CLI locally, use the following command:

vercel login

By using the vercel login command, you will be logged in to your Edgenivo account locally, creating a token that will then be used for all other Edgenivo CLI commands.

If you are using Edgenivo CLI in a CI/CD environment, visit the tokens page on the Edgenivo Dashboard and create a new token that can replace the one previously invalidated.

If you'd like to keep the token active, make sure to use the CLI at least once every 10 days.

Related documentation

More Edgenivo CLI guides