Commit 8c220bf
fix: scope well-known rewrite to oauth-* paths only to avoid breaking ACME
The previous /.well-known/* handler intercepted ALL well-known paths
including /.well-known/acme-challenge/ used by Caddy's Let's Encrypt
HTTP-01 challenge. This caused TLS certificate provisioning to fail.
Narrow the rewrite to /.well-known/oauth-* which covers the two OAuth
discovery endpoints (oauth-protected-resource, oauth-authorization-server)
without touching the ACME challenge path.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 38ede25 commit 8c220bf
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments