Releases: simonw/datasette-auth-github
0.13.1
0.13
This plugin now builds on the Authentication and permissions mechanism introduced in Datasette 0.44. This means it can be used in combination with other authentication plugins such as datasette-auth-tokens. #62
When a user signs in with GitHub, a signed ds_actor cookie is set with details of their GitHub profile. Fields from this dictionary can be used with Datasette allow blocks to control access to individual databases, tables and queries.
The new load_orgs
and load_teams
options can be used to check the user's membership of different organization and teams when they first sign in. These memberships will be encoded in the cookie and can be used to control access.
Other changes:
- The ASGI middleware version of this plugin has been split off into a separate asgi-auth-github package. #63
- Error messages are now rendered using a
datasette_auth_github_error.html
template, which can be customized by including a template of the same name in a custom templates directory. #36 - The
/-/auth-callback
path is now/-/github-auth-callback
- you will need to update this in your GitHub OAuth application settings. #66
0.13a2
0.13a1
0.13a0
Alpha release. This is a big change - it switches the plugin over to using the authentication plugin mechanism introduced in Datasette 0.44.