- Notifications
You must be signed in to change notification settings - Fork1k
Commit2701d55
authored
fix: support path parameters in OAuth2 metadata endpoints (#19729)
Update OAuth2 metadata endpoint routes to support path suffixesThis 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 discovery1 parent6e33c38 commit2701d55
1 file changed
+6
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
948 | 948 |
| |
949 | 949 |
| |
950 | 950 |
| |
951 |
| - | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
952 | 954 |
| |
953 |
| - | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
954 | 958 |
| |
955 | 959 |
| |
956 | 960 |
| |
|
0 commit comments
Comments
(0)