From: Jason at zx2c4.com (Jason A. Donenfeld)
Subject: authentication support: work has begun!
Date: Wed, 15 Jan 2014 02:02:13 +0100 [thread overview]
Message-ID: <CAHmME9pLfxyuEPYa2c92Gq4+O4aPkP+_pfUv-N1RMUPpPvVUjw@mail.gmail.com> (raw)
Hi folks,
While still a horrendous mess, I've begun work adding authentication
support, using our nice new lua filter system.
A sample script looks like this [at the moment]:
http://git.zx2c4.com/cgit/tree/filters/simple-authentication.lua?h=jd/authentication
The full commit of this attrocity looks like this:
http://git.zx2c4.com/cgit/commit/?h=jd/authentication
It's far from finished or polished, but I thought I'd give everyone a
preview of it. It's running on:
http://git.zx2c4.com/glouglou/log
Currently just enter anything you want as username and password. It will
set a cookie. Check out the HTTP headers and response and everything to see
what's happening.
Preliminary comments?
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140115/c9c025fa/attachment.html>
next reply other threads:[~2014-01-15 1:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-15 1:02 Jason [this message]
2014-01-15 9:28 ` lekensteyn
2014-01-15 13:42 ` Jason
2014-01-15 18:17 ` lekensteyn
2014-01-15 18:29 ` Jason
2014-01-16 0:40 ` Jason
2014-01-16 11:14 ` Jason
2014-01-15 17:46 ` Jason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHmME9pLfxyuEPYa2c92Gq4+O4aPkP+_pfUv-N1RMUPpPvVUjw@mail.gmail.com \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).