ZeroHour
Simon Willisonpublished ()ingested

datasette-auth-github 1.0

infoToolsimportance 15
AI summary · glm-5.3-flash

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.
VendorsDatasette
OrganizationsGitHub
Full article

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 app.) I fixed that in #80 and, since this plugin has been around for quite a while and is tested against both Datasette 0.65.x and Datasette 1.0ax, I decided to bump it up to a 1.0 release. I'm trying to get better at promoting stable plugins to 1.0. Tags: github , plugins , datasette

This source does not provide full text. Read it at simonwillison.net.