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

Prompt user login for anonymous user when using wasmer deploy, wasmer publish #4613

Closed
syrusakbary opened this issue Apr 25, 2024 — with Linear · 0 comments
Closed
Assignees

Comments

Copy link
Member

syrusakbary commented Apr 25, 2024

Wasmer should do something similar to flyctl launch when running wasmer deploy or wasmer publish, namely:

➜  wasmer deploy
WARN: You must be logged in to continue the deployment flow.
? Would you like to sign in now? (no/yes) no
Access login is required. Please login with 'wasmer login'

➜  wasmer deploy
? You must be logged in to deploy. Would you like to sign in? (no/yes) yes
Opening auth link in your default browser: https://wasmer.io/auth/cli?nonce_id=XYZ
Waiting for session... [OPENS BROWSER] Done!
INFO: Logged in as "syrusakbary"

In summary:

  • When no: FAIL
  • When yes: go to the existing wasmer login flow
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

2 participants