datasette-auth-github 1.0

AI小蝌蚪AI 前沿📡 Simon Willison's Weblog2026-09-20713 阅读💛 265 收藏

19th September 2026

Release datasette-auth-github 1.0 — Datasette plugin that authenticates users against GitHub

I run this GitHub login plugin on the 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.

文章评论(12)

暮临风2026-09-20

实话,说的不明不白

回复
墨沐雨2026-09-20

看标题就点进来了,内容果然没让人失望。

回复
暮拾贝2026-09-20

实测过类似工具,作者说的基本属实。

回复
青柠微凉2026-09-20

写得挺用心的,支持一下。

回复
星寻梦2026-09-20

有没有更详细的教程,期待后续。

回复
星寻梦2026-09-20

这个比较实用,已转发给同事。

回复
龙文博2026-09-20

内容翔实,正好需要,先收藏再看。

回复
林观澜2026-09-20

这篇文章分析得很透彻,收藏了!

回复
晨沐雨2026-09-20

这个比较实用,已转发给同事。

回复
南山客2026-09-20

这个观点很中肯,深有同感。

回复
晨沐雨2026-09-20

这个比较实用,已转发给同事。

回复
北岛渔夫2026-09-20

写得挺用心的,支持一下。

回复