Closed CodingDoug closed 1 year ago
@glommer What do you think? We're not planning to make the CLI public (although it kind of is already) so we could make the assumption that everybody who has access is on the allowlist.
we should use every opportunity we have to direct people to talk to us, so I agree with Doug.
Let's say for example someone tries and passes it along to a friend...
Any error message is better than none
For now, I'm mostly interested in defending against the case where someone is not actually on the whitelist that should be (as it happened to me recently).
I am working on this.
Work is actually all on the API - https://github.com/chiselstrike/iku-turso-api/pull/44
Fixed on the API side.
Before my GH account was whitelisted, if I tried to
turso auth login
, I could auth with GH OK, but I was landed on a screen with empty content. I would expect to see instead a helpful error message saying that I should reach out to ChiselStrike staff using the best channel (Discord?).Edit: since the CLI is handling error cases, we should probably make sure that the experience is reasonable for those who aren't on the allowlist.