From 9ee30d1e230e61d5c4a1eb3bc40dc7071fde9d37 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Mon, 2 Jun 2025 20:35:03 +0200 Subject: [PATCH] feat: register `/authorize` route --- internal/oauth/routes.go | 1 + 1 file changed, 1 insertion(+) 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) }) }