Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

Token Validity and Error Reporting #303

Open
theduke opened this issue Nov 27, 2022 · 1 comment
Open

Token Validity and Error Reporting #303

theduke opened this issue Nov 27, 2022 · 1 comment
Labels

Comments

@theduke
Copy link

theduke commented Nov 27, 2022

Describe the bug

wapm login does not check that the provided token is actually valid.

When running wapm publish with an invalid token, the error message just says "You need to be logged in".

This is highly confusing.
Not technical bug, but a UX bug.

@fschutt
Copy link
Contributor

fschutt commented Nov 29, 2022

@theduke That design was requested by @syrusakbary in

wasmer login however does however print an error message:

wasmer login adlfjasdölfkj
Error: no user found on registry "wapm.io" with token "adlfjasdölfkj". Token saved regardless.

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

No branches or pull requests

2 participants