From 5d9e5d27bfd68831c8840911b078170e2540d704 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Sun, 1 Jun 2025 21:22:16 +0200 Subject: [PATCH] fix: correct authorize uri --- internal/oauth/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/oauth/routes.go b/internal/oauth/routes.go index 97a44f1..107f2d1 100644 --- a/internal/oauth/routes.go +++ b/internal/oauth/routes.go @@ -79,7 +79,7 @@ func (h *OAuthHandler) OpenIdConfiguration(w http.ResponseWriter, r *http.Reques encoder := json.NewEncoder(w) if err := encoder.Encode(Response{ TokenEndpoint: h.cfg.Jwt.Issuer + "/api/v1/oauth/token", - AuthorizationEndpoint: h.cfg.Jwt.Issuer + "/authorize", + AuthorizationEndpoint: h.cfg.Jwt.Issuer + "/auth", JwksURI: h.cfg.Jwt.Issuer + "/.well-known/jwks.json", Issuer: h.cfg.Jwt.Issuer, EndSessionEndpoint: h.cfg.Jwt.Issuer + "/api/v1/oauth/logout",