File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ func NewServer(cfg *Config) (*Server, error) {
8080// - /oauth/authorize - Authorization endpoint (proxy mode)
8181// - /oauth/callback - Callback handler (proxy mode)
8282// - /oauth/token - Token exchange (proxy mode)
83+ // - /oauth/register - Dynamic client registration
8384//
8485// Note: WithOAuth() calls this automatically. Only call directly if using
8586// NewServer() for advanced use cases.
@@ -90,6 +91,7 @@ func (s *Server) RegisterHandlers(mux *http.ServeMux) {
9091 mux .HandleFunc ("/oauth/authorize" , s .handler .HandleAuthorize )
9192 mux .HandleFunc ("/oauth/callback" , s .handler .HandleCallback )
9293 mux .HandleFunc ("/oauth/token" , s .handler .HandleToken )
94+ mux .HandleFunc ("/oauth/register" , s .handler .HandleRegister )
9395 mux .HandleFunc ("/.well-known/openid-configuration" , s .handler .HandleOIDCDiscovery )
9496}
9597
You can’t perform that action at this time.
0 commit comments