You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mark client credentials tokens on the resource server user and verify the ephemeral token at registration #260
packages/core/src/resourceServer.ts returns client credentials tokens (sub equal to client_id) as a ResourceServerUser with id set to the client id and nothing marking it as a machine token, so adopters can treat it as a user id
packages/core/src/handlers/register.ts signs the ephemeral token into the registration cookie without verifyUpstreamSession(..., "ephemeral"), unlike the login handler and the manifest path
Fix
add isClient to the resource server user, and a guard option that requires a user
verify the ephemeral token in registerHandler before signing the cookie
Done on main. packages/core/src/resourceServer.ts marks client credentials tokens with isClient, and the guards refuse them unless allowClients is set (the Go, Python and Rust adapters match, fells-code/seamless-auth-go#32, fells-code/seamless-auth-python#35, fells-code/seamless-auth-rust#37). registerHandler verifies the ephemeral token with verifyUpstreamSession before signing the registration cookie. Landed in #270.
Activity
test(core): reproduce client credentials tokens that look like users
fix(core): mark client credentials tokens on the resource server user
test(core): reproduce resource server guards that cannot require a user
feat: let verify-only resource servers require a user
fix: guard unsafe requests whatever the SameSite setting, and no refr…
feat: let verify-only resource servers require a user (#37)
feat: let verify-only resource servers require a user (#35)
Bccorb commentedon Nov 7, 2026
Done on main. packages/core/src/resourceServer.ts marks client credentials tokens with isClient, and the guards refuse them unless allowClients is set (the Go, Python and Rust adapters match, fells-code/seamless-auth-go#32, fells-code/seamless-auth-python#35, fells-code/seamless-auth-rust#37). registerHandler verifies the ephemeral token with verifyUpstreamSession before signing the registration cookie. Landed in #270.