diff --git a/internal/oauth/openid.go b/internal/oauth/openid.go index aaa863d..ede2f63 100644 --- a/internal/oauth/openid.go +++ b/internal/oauth/openid.go @@ -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",