Closed dthyresson closed 3 years ago
I'm happy to take this on if y'all need help!
Didn't want to open a new issue for this but just worked on an idea for AuthResults to display in a separate container.
Didn't want to open a new issue for this but just worked on an idea for AuthResults to display in a separate container.
@WizardSource Thanks! That could definitely help readability.
We have 2 helpers to let you know auth is working ok: the results abs a refresh token poll. Both could use some love
If you push a PR we can review
Since one can be logged in/authenticated to multiple providers, it might be nice to show an Authenticated status in each provider box, section.
You might be able to reuse
https://github.com/redwoodjs/playground-auth/blob/main/web/src/components/Badge/Badge.js
but wrap it in the AuthProvider needed:
<AuthProvider client={supabase} type="supabase">
But that would require creating a client per box too, which is fine.
The "not logged in" or unauthenticated would be a nice call-to-action to then try to sign in/up.