alpha
Login
or
Join now
willdot.net
/
distributed-pds
forked from
willdot.net/cocoon
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A fork of the Cocoon PDS but being made more distributed.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix session refresh (#3)
author
Juliet
committer
GitHub
date
1 year ago
(Apr 10, 2025, 4:41 PM -0700)
commit
5f5b61b7
5f5b61b7d1de436131699cc9c4d693c5a35cd0a9
parent
8a29af4b
8a29af4b1312c5d35aa24bd2dbb295653c8029a8
+2
-1
1 changed file
Expand all
Collapse all
Unified
Split
server
server.go
+2
-1
server/server.go
Reviewed
···
132
132
})
133
133
if err != nil {
134
134
s.logger.Error("error parsing jwt", "error", err)
135
135
-
return helpers.InputError(e, to.StringPtr("InvalidToken"))
135
135
+
// NOTE: https://github.com/bluesky-social/atproto/discussions/3319
136
136
+
return e.JSON(400, map[string]string{"error": "ExpiredToken", "message": "token has expired"})
136
137
}
137
138
138
139
claims, ok := token.Claims.(jwt.MapClaims)