redwoodjs/playground-auth

Hide auth results until authenticated

Opened this issue · 2 comments

I was wondering if it would make sense to have the auth results be hidden until the user is authenticated.

Showing null for the values doesn't seem to be necessary

Tobbe commented

One reason to have them as null is to show that something is supposed to show there.
But maybe it would look nicer to replace it with a text instead, like "Authenticate to show data" (wording tbd)

Yeah, that makes sense, so that users expect something. I like the idea of a message to indicate that an action needs to be taken