alpha
Login
or
Join now
tangled.org
/
core
Star
5
Fork
66
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Monorepo for Tangled
tangled.org
Star
5
Fork
66
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
12
Pulls
26
Pipelines
core
/
appview
/
oauth
/
at
1f5b7ce1986beed8e30da93447a47903fe87bc23
10 files
Lewis
appview: oauth session cache, backoff on stuck migrations
6w ago
1212e6d1
accounts.go
appview: oauth session cache, backoff on stuck migrations Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
accounts_test.go
appview/oauth: remove `.Handle` from `oauth.AccountInfo` We should resolve handle on render and we are already doing that. Removing the unused field. Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
cache_test.go
appview: oauth session cache, backoff on stuck migrations Lewis: May this revision serve well! <lewis@tangled.org>
1 month 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>
5 months ago
errors.go
appview: oauth session cache, backoff on stuck migrations Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
errors_test.go
appview: oauth session cache, backoff on stuck migrations Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
handler.go
appview: oauth session cache, backoff on stuck migrations Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
oauth.go
appview: oauth session cache, backoff on stuck migrations Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
scopes.go
appview/state: add vouch handlers Signed-off-by: oppiliappan <me@oppi.li>
2 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>
8 months ago