feat: create middleware endpoint before accessing web ui interface for

authorize
This commit is contained in:
2025-06-02 20:34:36 +02:00
parent cfdf419460
commit 886d0a7f5c

View File

@ -21,7 +21,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 + "/auth",
AuthorizationEndpoint: h.cfg.Jwt.Issuer + "/api/v1/oauth/authorize",
JwksURI: h.cfg.Jwt.Issuer + "/.well-known/jwks.json",
Issuer: h.cfg.Jwt.Issuer,
EndSessionEndpoint: h.cfg.Jwt.Issuer + "/api/v1/oauth/logout",