diff --git a/internal/oauth/routes.go b/internal/oauth/routes.go index 31d9626..6d40730 100644 --- a/internal/oauth/routes.go +++ b/internal/oauth/routes.go @@ -23,5 +23,6 @@ func (h *OAuthHandler) RegisterRoutes(router chi.Router) { r.Post("/token", h.tokenEndpoint) r.Post("/code", h.getAuthCode) + r.Get("/authorize", h.AuthorizeClient) }) }