vercel login command allows you to login to your Vercel account through Vercel CLI.
Vercel CLI supports the following login methods:
- GitHub OAuth
- GitLab OAuth
- Bitbucket OAuth
- Email confirmation
- SAML Single Sign-On via your Team's identity provider
When no arguments are provided, an interactive prompt will be displayed asking the user which login method should be used.
To skip the interactive prompt, you may also provide your email address, or Team slug (for SAML Single Sign-On), as an argument to
vercel login email@example.com
vercel login acme
These are options that only apply to the
vercel login command.
--github option can be used to initiate GitHub OAuth login:
vercel login --github
--gitlab option can be used to initiate GitLab OAuth login:
vercel login --gitlab
--bitbucket option can be used to initiate Bitbucket OAuth login:
vercel login --bitbucket
--oob option can be used to enable to "out-of-band" mode during login, which requires the user to copy the "verification token" from the web browser after an OAuth login, and paste it back into Vercel CLI to complete the login.
In most situations this flag is not necessary, since "out-of-band" mode is automatically enabled when logging in on a remote machine, such as an SSH session or in a Docker container.
vercel login --github --oob