ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I figured we can skip this IO on most requests by storing the expiry inside our cookie, the cookie is a signed JWT. I put this timestamp inside the exp claim, but this causes the verification to fail when we get beyond the access token expiry. Meaning I can't get the session ID from the jti claim

May 8, 2025, 2:06 PM

Record data

{
  "uri": "at://did:plc:2xau7wbgdq4phuou2ypwuen7/app.bsky.feed.post/3loo3hfaeqs2q",
  "cid": "bafyreig7apn3piwhf3izc3gateqxcafeytygcbqofim2ge4furybxuqgfu",
  "value": {
    "text": "I figured we can skip this IO on most requests by storing the expiry inside our cookie, the cookie is a signed JWT.\n\nI put this timestamp inside the exp claim, but this causes the verification to fail when we get beyond the access token expiry. Meaning I can't get the session ID from the jti claim",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreiafycrzvel6fttqrffztgqwm2xjc5hdl6apajv3syzshjff6khs24",
        "uri": "at://did:plc:2xau7wbgdq4phuou2ypwuen7/app.bsky.feed.post/3loo2f2kou22b"
      },
      "parent": {
        "cid": "bafyreicb6jui6n6gofa6xtikxcztuwrgnbsudkrx4va5y4v5ukjem2r6zu",
        "uri": "at://did:plc:2xau7wbgdq4phuou2ypwuen7/app.bsky.feed.post/3loo3hf27ic2q"
      }
    },
    "createdAt": "2025-05-08T14:06:21.167Z"
  }
}