Skip to content

Conversation

ThomasK33
Copy link
Member

Update OAuth2 metadata endpoint routes to support path suffixes

This PR updates the OAuth2 metadata endpoint routes to include a wildcard character (*) at the end of the paths. This change allows the endpoints to match requests with path suffixes, making our OAuth2 discovery implementation more flexible and compliant with the relevant RFCs.

The updated routes are:

  • /.well-known/oauth-authorization-server* for RFC 8414 discovery
  • /.well-known/oauth-protected-resource* for RFC 9728 discovery

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ThomasK33 ThomasK33 marked this pull request as ready for review September 8, 2025 11:32
@ThomasK33 ThomasK33 force-pushed the thomask33/fix_support_path_parameters_in_OAuth2_metadata_endpoints branch from 74161dd to 29c7d1c Compare September 8, 2025 11:55
Change-Id: Ic28d30af39fcb3c8eea40607e0241c5aa096cc80
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33 ThomasK33 force-pushed the thomask33/fix_support_path_parameters_in_OAuth2_metadata_endpoints branch from 29c7d1c to eab2971 Compare September 8, 2025 11:59
@ThomasK33 ThomasK33 merged commit 2701d55 into main Sep 8, 2025
32 checks passed
@ThomasK33 ThomasK33 deleted the thomask33/fix_support_path_parameters_in_OAuth2_metadata_endpoints branch September 8, 2025 12:22
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants