oficina / home Public

Pass verified subject to source authorization scopes

claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 2ffdf3fc26af74666617ac678e9858b455618a5c parent f9177dd
1 file changed, +2 −2
  • connect/dashboard/provider.go +2 −2

CI cancelled — superseded by a newer push — run details

diff --git a/connect/dashboard/provider.go b/connect/dashboard/provider.go
index a776f6f..2460e9d 100644
--- a/connect/dashboard/provider.go
+++ b/connect/dashboard/provider.go
@@ -16,7 +16,7 @@ type ProviderConfig struct {
Keys map[string][]byte
// Resolve reads an existing explicit link AND current admission. Never creates accounts.
Resolve func(context.Context, string) (int64, error)
- Read func(context.Context, int64, time.Time) (Response, error)
+ Read func(context.Context, int64, string, time.Time) (Response, error)
}
func NewProvider(c ProviderConfig) (http.Handler, error) {
@@ -59,7 +59,7 @@ func NewProvider(c ProviderConfig) (http.Handler, error) {
}
return
}
- result, e := c.Read(r.Context(), id, now)
+ result, e := c.Read(r.Context(), id, claims.Subject, now)
if e != nil {
refuse(503)
return