datasette-auth-github 1.0
Simon Willison released datasette-auth-github 1.0, fixing session cookies that lacked Max-Age and expired early, especially in Mobile Safari.
Simon Willison announced datasette-auth-github 1.0, the GitHub login plugin for Datasette that he runs on the agent.datasette.io demo site. Authenticated sessions were ending prematurely because cookies were set without a Max-Age parameter, causing them to expire at the end of a browser session, a behavior that happens frequently in Mobile Safari. The fix landed in pull request #80, and the plugin, which is tested against both Datasette 0.65.x and Datasette 1.0ax, was promoted to a 1.0 stable release.
- datasette-auth-github 1.0 marks the long-maintained GitHub auth plugin as stable.
- Pull request #80 adds Max-Age to cookies so sessions persist past browser restarts.
- Bug surfaced because Mobile Safari frequently ends browser sessions, invalidating cookies.
- Plugin is tested against both Datasette 0.65.x and Datasette 1.0ax releases.
- Author is promoting stable plugins to 1.0 versioning; runs it on agent.datasette.io.
- Vendors
- Datasette
- Products
- datasette-auth-githubGitHub
- Organizations
- GitHub
From the original article
Release: datasette-auth-github 1. 0 I run this GitHub login plugin on the agent. datasette.
simonwillison.net
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.