fix: correct authorize uri

This commit is contained in:
2025-06-01 21:22:16 +02:00
parent 3f8a4024ce
commit 5d9e5d27bf

View File

@ -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",