Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel CLI gives gated link instead of public URL #807

Open
technophile-04 opened this issue Apr 9, 2024 · 3 comments
Open

Vercel CLI gives gated link instead of public URL #807

technophile-04 opened this issue Apr 9, 2024 · 3 comments

Comments

@technophile-04
Copy link
Collaborator

technophile-04 commented Apr 9, 2024

Description :

When you deploy the frontend through CLI, vercel seems to output an gated link in CLI, example :

Screenshot 2024-04-09 at 3 26 46 PM

https://wagmiv2-test-cm4cx4xpi-technophile04s-projects.vercel.app <= If you try to open this link, it will tell you to login to vercel / unauthorized.

Although vercel outputs gated link in CLI, one can guess the public URL since it mostly always follow this convention :

{projectName}.vercel.app in my case I named the project as wagmiv2-test so https://wagmiv2-test.vercel.app

Not sure what's the best way to handle this, maybe mentioning this about doc or somewhere.


https://www.youtube.com/live/uhTkEq70lls?si=5Cc6qd6wgB5K55MI&t=1766

^ Even in above video when Austin clicked the generated link it showed "Authenticating"

Instead the actual public link URL should have been https://scalingethdemo.vercel.app i.e his {projectName}.vercel.app

@rin-st
Copy link
Member

rin-st commented Apr 9, 2024

I found that deployment protection can be changed/disabled only per project , so one of the (bad) options is to go to project settings on vercel and disable it manually for every project

Although vercel outputs gated link in CLI, one can guess the public URL since it mostly always follow this convention :
{projectName}.vercel.app in my case I named the project as wagmiv2-test so https://wagmiv2-test.vercel.app/

it works only if no one used that projectName. For example I tried wagmiv2-test too and my URL is https://wagmiv2-test-five.vercel.app/.

So I think best way is to go to vercel dashboard using inspect link from CLI and get public URL here
Снимок экрана 2024-04-09 в 14 04 56

@technophile-04
Copy link
Collaborator Author

So I think best way is to go to vercel dashboard using inspect link from CLI and get public URL here

Yup agree, maybe we should mention this in docs and maybe we could even add "echo" a note after vercel cli is done logging the output

@damianmarti
Copy link
Member

So I think best way is to go to vercel dashboard using inspect link from CLI and get public URL here

Yup agree, maybe we should mention this in docs and maybe we could even add "echo" a note after vercel cli is done logging the output

The note after the Vercel log sounds like a good option!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants