typescript-sdk/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chris Dickinson d89e854133
fix(client/sse): extract protected resource from eventsource 401
Previously the SSE connection would always default to the
`/.well-known/oauth-protected-resource` URI, ignoring the `resource_metadata`
portion of the `www-authenticate` returned in a 401.

Extract the metadata from the initial 401, so RS servers with
custom protected resource URIs (as in RFC9728, [section 3.1][1]))
continue to work as expected.

[1]: https://datatracker.ietf.org/doc/html/rfc9728#section-3.1
2025-06-20 12:54:29 -07:00
..
__mocks__ Fix tests 2025-02-11 22:02:20 +00:00
client fix(client/sse): extract protected resource from eventsource 401 2025-06-20 12:54:29 -07:00
examples adjust default validation for resource parameter in client flow, and server example 2025-06-19 17:52:24 +01:00
integration-tests update latest protocol version 2025-06-17 11:38:00 +01:00
server feat: remove console statements from SDK code 2025-06-19 22:36:33 -07:00
shared adjust default validation for resource parameter in client flow, and server example 2025-06-19 17:52:24 +01:00
cli.ts Use eventsource package 2025-01-22 18:49:04 +00:00
inMemory.test.ts Pass extra object instead of authInfo directly 2025-04-12 16:38:55 -07:00
inMemory.ts Update inMemory.ts 2025-04-12 16:45:05 -07:00
types.test.ts change version 2025-06-17 17:29:41 +01:00
types.ts rename decline to reject 2025-06-18 20:11:18 +01:00