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
9b3145e00c0155b42d4f3ded70cea723b0f879fb
Seongmin Lee
appview/{oauth,pages,state}: remove unused `AddAccount` session data
6mo ago
9b3145e0
accounts.go
appview/{oauth,pages,state}: remove unused `AddAccount` session data idk why was this added. Seems like it isn't used? Signed-off-by: Seongmin Lee <git@boltless.me>
6 months ago
accounts_test.go
appview/{pages,state}: simplify LoginPage params We don't need to pass full `MultiAccountUser` here. just `[]AccountInfo` should be enough. This way, we can make `MultiAccountUser` to always hold an active user. Signed-off-by: Seongmin Lee <git@boltless.me>
6 months ago
consts.go
appview/{oauth,pages,state}: remove unused `AddAccount` session data idk why was this added. Seems like it isn't used? Signed-off-by: Seongmin Lee <git@boltless.me>
6 months ago
handler.go
appview/oauth: refresh sessions in bsky post updater makes the homepage more "live". Signed-off-by: oppiliappan <me@oppi.li>
4 months ago
oauth.go
appview/{oauth,pages,state}: remove unused `AddAccount` session data idk why was this added. Seems like it isn't used? Signed-off-by: Seongmin Lee <git@boltless.me>
6 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