datasette-auth-github 1.0
How-To How to actually use this
What changed: datasette-auth-github 1.0 fixes a bug where GitHub login sessions expired too quickly because cookies lacked a Max-Age parameter.
How to use it:
- Upgrade the plugin to version 1.0 on your Datasette instance.
- Verify that authenticated sessions now persist beyond a single browser session, especially on mobile Safari.
- Test the GitHub login flow to confirm cookies include a Max-Age attribute.
Good for: site operators running Datasette with GitHub authentication who need stable user sessions.
Release: datasette-auth-github 1.0 I run this GitHub login plugin on the agent.datasette.io demo site and I noticed that my authenticated sessions weren't lasting very long. It turned out that the plugin was setting cookies without a Max-Age parameter, so they were expiring at the end of a browser session (which in Mobile Safari seems to happen pretty often, independently of how you are using the…
Read original article on Simon Willison's Weblog →




