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

Authenticator pattern is at odds with permissionless goals #349

Open
olizilla opened this issue Feb 2, 2023 · 4 comments
Open

Authenticator pattern is at odds with permissionless goals #349

olizilla opened this issue Feb 2, 2023 · 4 comments

Comments

@olizilla
Copy link
Contributor

olizilla commented Feb 2, 2023

The Authenticator as a "you must log in to see this" pattern is a left-over from web2 and a previous iteration of the w3 apis.

Everything we are building allows participants to do things locally without registering. We currently require people to register an email address to associate with a space, but this is changing as we iterate on the specs

For example, we could remove the authenticator step from w3console and the app would let you make spaces as it does now. No need to prove anything to the website before you start using it.

@olizilla
Copy link
Contributor Author

olizilla commented Feb 2, 2023

Noting that @alanshaw flagged this a few weeks ago, and I increasingly agree.

@olizilla
Copy link
Contributor Author

olizilla commented Feb 2, 2023

If we wish to keep it then we need to explore how to make it easier to customize. How would I put a logo on it for the app it's being used with? Should it manage the full screen covering div or could we reduce it's scope to register box, so calling code can decide how to render the auth step.

olizilla added a commit that referenced this issue Feb 2, 2023
Nice up the auth step to be closer to the dream presented in https://beta.ui.web3.storage/keyring

While implementing this it occurs to me that we should drop the Authneticator pattern in-favour of the "come on in" pattern. The app should just work straight away without forcing you to register your first space per #349

License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
@alanshaw
Copy link
Member

alanshaw commented Feb 2, 2023

Yeah I'd like a user to get all the way to uploading a file before being asked to verify an email address.

@travis
Copy link
Contributor

travis commented Feb 2, 2023

Huge +1 - @gobengo and I were talking about this last week and I think @jchris is all the way there too.

It feels like we should lean into communicating to the user what's actually happening here - you can create as many spaces as you want without telling us about them, and potentially even upload some/small files* before registration, and we'd have some sort of UI explaining the limitations of unregistered spaces** perhaps?

This would definitely change the structure of the w3ui components and w3console, but it feels like a good direction to me.

*maybe? lotta considerations here - how big do we let files get? would allowing uploads without an email attached have legal implications? could we store uploads in local storage and then sync them all up once a space is registered?

** image ?

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

3 participants