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

anonymous users #279

Closed
umputun opened this issue Feb 19, 2019 · 6 comments
Closed

anonymous users #279

umputun opened this issue Feb 19, 2019 · 6 comments

Comments

@umputun
Copy link
Owner

umputun commented Feb 19, 2019

This is going to be an optional mode (off by default) implementing auth provider allowing login without any verification. The only input it will ask is a user name.

@umputun umputun self-assigned this Feb 19, 2019
@umputun
Copy link
Owner Author

umputun commented Feb 19, 2019

We also need frontend change for this. From API's point of view, this is just an additional provider anonymous. For login UI should show a popup/dialog with user name and hit /auth/anonymous/login?user=<user-name>&aud=<site-id>

It will be nice to do local verification with the same simple rules server side enforces on anonymous:

  • the name should be at least 3 characters long
  • the name has to start from the letter and contains letters, numbers, underscores, and spaces only (regex ^[a-zA-Z][\w ]+$)

@umputun umputun removed their assignment Feb 19, 2019
umputun added a commit that referenced this issue Feb 19, 2019
add anon option and direct provider #279
@Hixon10
Copy link

Hixon10 commented Mar 7, 2019

Can anonymous users vote? If can, do we need protection on the voting results?

@umputun
Copy link
Owner Author

umputun commented Mar 7, 2019

good point. I'll make a change to prevent anonymous from voting

@leem32
Copy link

leem32 commented Mar 15, 2019

If anonymous users are enabled is there anything to prevent a bot from entering a username and posting spam?

Is there a honeypot field and/or recaptcha for example?

@umputun
Copy link
Owner Author

umputun commented Mar 16, 2019

sure, some protection will be nice to have. I don't think recaptcha will be friendly for honest users, but honeypot field should be ok. I also have a plan of integrating some kind of anti-spam on server-side.

But even without all of this - enabling anonymous access will be user's decision and will be off by default. And I can imagine some internal/trusted systems, where users would like to allow such access without worrying about spam/abuse.

This was referenced Mar 21, 2019
@Reeywhaar
Copy link
Collaborator

Reeywhaar commented Mar 24, 2019

Should anonymously logged in user be able to request data removal?

Edit: Nevermind, I see server rejects such requests

Reeywhaar added a commit to Reeywhaar/remark that referenced this issue Mar 24, 2019
Reeywhaar added a commit to Reeywhaar/remark that referenced this issue Mar 24, 2019
Reeywhaar added a commit to Reeywhaar/remark that referenced this issue Mar 24, 2019
@umputun umputun added this to the v1.3 milestone Apr 15, 2019
@umputun umputun closed this as completed Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants