go-sdk/oauthex
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jakub Hrozek 1059f59a27
internal/oauthex: fix GetProtectedResourceMetadataFromHeader validation (#561)
GetProtectedResourceMetadataFromHeader was validating the resource field
against the metadata endpoint URL instead of the original server URL.
Per RFC 9728 section 3.3, the resource field must match the URL that the
client used to make the request to the resource server.

Fixes: #560
2025-10-08 09:30:51 -04:00
..
testdata oauthex: move internal/oauthex to oauthex (#559) 2025-10-07 08:39:49 -04:00
auth_meta.go oauthex: move internal/oauthex to oauthex (#559) 2025-10-07 08:39:49 -04:00
auth_meta_test.go oauthex: move internal/oauthex to oauthex (#559) 2025-10-07 08:39:49 -04:00
dcr.go oauthex: move internal/oauthex to oauthex (#559) 2025-10-07 08:39:49 -04:00
dcr_test.go oauthex: move internal/oauthex to oauthex (#559) 2025-10-07 08:39:49 -04:00
oauth2.go oauthex: move internal/oauthex to oauthex (#559) 2025-10-07 08:39:49 -04:00
oauth2_test.go internal/oauthex: fix GetProtectedResourceMetadataFromHeader validation (#561) 2025-10-08 09:30:51 -04:00
oauthex.go oauthex: move internal/oauthex to oauthex (#559) 2025-10-07 08:39:49 -04:00
resource_meta.go internal/oauthex: fix GetProtectedResourceMetadataFromHeader validation (#561) 2025-10-08 09:30:51 -04:00