From b04691452cec8da18d7d9fd9131a0f96ea94495c Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 8 Jul 2019 09:05:29 -0700 Subject: [PATCH 1/2] Added datasette-auth-github to third party middleware --- docs/middleware.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/middleware.md b/docs/middleware.md index f4cd2a69..c3c8c482 100644 --- a/docs/middleware.md +++ b/docs/middleware.md @@ -216,3 +216,10 @@ when proxy servers are being used, based on the `X-Forwarded-Proto` and `X-Forwa A middleware class to emit timing information (cpu and wall time) for each request which passes through it. Includes examples for how to emit these timings as statsd metrics. + + +#### [datasette-auth-github](https://github.com/simonw/datasette-auth-github) + +This middleware adds authentication to any ASGI application, requiring users to sign in +using their GitHub account (via [OAuth](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/)). +Access can be restricted to specific users or to members of specific GitHub organizations or teams. From a1ad23b39dd0389d569ef1774fe2cb61aafc8357 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 8 Jul 2019 09:06:47 -0700 Subject: [PATCH 2/2] Removed rogue newline --- docs/middleware.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/middleware.md b/docs/middleware.md index c3c8c482..b20adab0 100644 --- a/docs/middleware.md +++ b/docs/middleware.md @@ -217,7 +217,6 @@ when proxy servers are being used, based on the `X-Forwarded-Proto` and `X-Forwa A middleware class to emit timing information (cpu and wall time) for each request which passes through it. Includes examples for how to emit these timings as statsd metrics. - #### [datasette-auth-github](https://github.com/simonw/datasette-auth-github) This middleware adds authentication to any ASGI application, requiring users to sign in