Merge pull request #571 from simonw/patch-2

Added datasette-auth-github to third party middleware
This commit is contained in:
Tom Christie 2019-07-08 17:14:23 +01:00 committed by GitHub
commit 27c073fd3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -216,3 +216,9 @@ 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.