alpha
Login
or
Join now
alice.pds.demo.boltless.dev
/
core
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.
This repository has no description
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
2
Pulls
1
Pipelines
core
/
appview
/
oauth
7 files
at
e326cc53ad4e9123552bdf20a192aff6ca1eb135
did:plc:3fwecdnvtcscjnrx2p4n7a…
appview/oauth: recover from corrupted session cookies on login
5mo ago
e326cc53
accounts.go
appview/oauth: recover from corrupted session cookies on login
5 months ago
accounts_test.go
fmt: * Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
consts.go
fmt: * Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
handler.go
appview/oauth: store and reuse the same app password session We seem to be hammering bsky's PDS, which explains the 429s. Perhaps re-using the session alleviates the pressure. It's hard to test this locally since their rate limits vanish (different host/IP). Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
5 months ago
oauth.go
appview/oauth: recover from corrupted session cookies on login
5 months ago
scopes.go
oauth: add granular scope request for atproto records & everything tangled-related
6 months ago
store.go
appview/oauth: invalidate sessions if inactive for too long if sessions are inactive for too long, tokens will not be refreshed, and calling authorized xrpc methods will error out with invalid_grant. this changeset does two things: - tracks the last time a session was active using a new redis pair: `oauth:session_meta:<did>:<session>`, this is updated every time `SaveSession` is called - checks for session inactivity every time `GetSession` is called, and deletes the session if so this way, `GetSession` will never return a session with expired tokens. Signed-off-by: oppiliappan <me@oppi.li>
9 months ago