alpha
Login
or
Join now
tangled.org
/
core
Star
4
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
4
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
25
Pipelines
core
/
appview
/
oauth
/
at
b20e461ba24c1f51d8a24a215576299c63499531
11 files
Lewis
xrpc/serviceauth: didweb svc auth colon parameterization
15d ago
23d7de0d
accounts.go
xrpc/serviceauth: didweb svc auth colon parameterization Lewis: May this revision serve well! <lewis@tangled.org>
2 weeks 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: scope auth thru knot capability Lewis: May this revision serve well! <lewis@tangled.org>
3 weeks ago
handler_test.go
appview/oauth: scope auth thru knot capability Lewis: May this revision serve well! <lewis@tangled.org>
3 weeks ago
oauth.go
xrpc/serviceauth: didweb svc auth colon parameterization Lewis: May this revision serve well! <lewis@tangled.org>
2 weeks ago
scopes.go
appview: read permissions thru knotacl service Lewis: May this revision serve well! <lewis@tangled.org>
3 weeks 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