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

Add options for authentication #40

Closed
aaronpk opened this issue Dec 21, 2019 · 1 comment
Closed

Add options for authentication #40

aaronpk opened this issue Dec 21, 2019 · 1 comment
Milestone

Comments

@aaronpk
Copy link
Owner

aaronpk commented Dec 21, 2019

Currently the only authentication mechanism is reading the Remote-User HTTP header. In order to be easier to install, the website should provide other options for authentication. Some options:

  • local user accounts with email/password
  • email magic link
  • configurable OAuth provider (e.g. log in with GitHub, Google, Twitter, IndieAuth, etc)

Some open questions:

  • Should an instance be able to support multiple providers (e.g. GitHub and Twitter) and if so, how to deal with duplicate/merging accounts?
  • Some instances may want to limit editing capability even for logged-in users, so there may need to be added a permissions system so that only certain users can do things like edit events or moderate responses
@aaronpk aaronpk added this to the Open Source milestone Dec 21, 2019
aaronpk added a commit that referenced this issue Jan 18, 2020
@aaronpk
Copy link
Owner Author

aaronpk commented Jan 18, 2020

There is now a GitHub authentication option in addition to the Remote-User header.

To keep things simple, only one authentication mechanism will be defined. This lets us keep the logic for each authenticator in a small list of classes and add new ones if needed.

I would like to define a Twitter authentication method later, but for now I'm going to call this done. Separately we will also deal with a permissions system so that there are different roles for users such as adding events vs just RSVP'ing.

@aaronpk aaronpk closed this as completed Jan 18, 2020
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

1 participant