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

Restricting edits to authenticated users #534

Open
aaronpk opened this issue Dec 3, 2017 · 0 comments
Open

Restricting edits to authenticated users #534

aaronpk opened this issue Dec 3, 2017 · 0 comments

Comments

@aaronpk
Copy link
Contributor

aaronpk commented Dec 3, 2017

While I realize adding an authentication mechanism to Calagator is out of scope, what about delegating that to external systems and just checking the presence of the REMOTE_USER environment variable?

I'm working on updating some IndieWeb community infrastructure, and just did a similar thing for MediaWiki. Instead of updating our authentication extension, I just installed the Auth remoteuser extension which assumes if the REMOTE_USER environment variable is set then the user is logged in. Separately, I run a subdomain that actually handles logging users in, and it sets a cookie across *.indieweb.org.

I'd like to be able to deploy calagator at events.indieweb.org so it would also have access to this cookie. As such, Calagator can know if a user is already logged in, and use that to check whether they're allowed to create events.

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

2 participants