mcp: add oauth metadata endpoint

This commit is contained in:
Denis Mishin 2025-04-22 17:51:27 -04:00
parent e1d84a1dde
commit ba03bb732b
5 changed files with 286 additions and 0 deletions

11
internal/mcp/handler.go Normal file
View file

@ -0,0 +1,11 @@
package mcp
const (
DefaultPrefix = "/.pomerium/mcp"
authorizationEndpoint = "/authorize"
oauthCallbackEndpoint = "/oauth/callback"
registerEndpoint = "/register"
revocationEndpoint = "/revoke"
tokenEndpoint = "/token"
)