Skip to content

Commit

Permalink
Remove non-standard token directory path
Browse files Browse the repository at this point in the history
[RFC 9578, Section 8.1](https://datatracker.ietf.org/doc/html/rfc9578#name-well-known-private-token-is) registers `/.well-known/private-token-issuer-directory` as the only well-known to serve Privacy Pass Issuer directory.
This commit removes non-standard endpoint that were placed under
`/.well-known` for backward compatibility of certain client
implementations.
  • Loading branch information
thibmeu committed Jan 6, 2025
1 parent 5c1ed4d commit ed83fcf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ export default {

router
.get(PRIVATE_TOKEN_ISSUER_DIRECTORY, handleTokenDirectory)
.get('/.well-known/token-issuer-directory', handleTokenDirectory)
.post('/token-request', handleTokenRequest)
.post('/admin/rotate', handleRotateKey)
.post('/admin/clear', handleClearKey);
Expand Down

0 comments on commit ed83fcf

Please sign in to comment.