home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 642161210

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/829#issuecomment-642161210 https://api.github.com/repos/simonw/datasette/issues/829 642161210 MDEyOklzc3VlQ29tbWVudDY0MjE2MTIxMA== 9599 2020-06-10T17:45:58Z 2020-06-10T17:45:58Z OWNER `itsdangerous` has this ability but you specify the max-age when you call unsign: https://itsdangerous.palletsprojects.com/en/1.1.x/timed/ > s.unsign(string, max_age=5) > Traceback (most recent call last): > ... > itsdangerous.exc.SignatureExpired: Signature age 15 > 5 seconds I currently only decode the `ds_actor` cookie in one place: https://github.com/simonw/datasette/blob/d828abaddec0dce3ec4b4eeddc3a74384e52cf34/datasette/actor_auth_cookie.py#L5-L12 If plugins want to be able to set their own policies on how long the `ds_actor` cookie should remain valid, how do I know to listen to them when decoding the cookie here? {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 636426530  
Powered by Datasette · Queries took 1.118ms