diff --git a/authenticate/handlers.go b/authenticate/handlers.go
index 30d649c50..c769ff7d3 100644
--- a/authenticate/handlers.go
+++ b/authenticate/handlers.go
@@ -28,7 +28,6 @@ import (
"github.com/pomerium/pomerium/internal/sessions"
"github.com/pomerium/pomerium/internal/telemetry/trace"
"github.com/pomerium/pomerium/internal/urlutil"
- "github.com/pomerium/pomerium/internal/version"
"github.com/pomerium/pomerium/pkg/cryptutil"
"github.com/pomerium/pomerium/pkg/grpc/databroker"
"github.com/pomerium/pomerium/pkg/grpc/directory"
@@ -592,7 +591,6 @@ func (a *Authenticate) getUserInfoData(r *http.Request) (handlers.UserInfoData,
WebAuthnCreationOptions: creationOptions,
WebAuthnRequestOptions: requestOptions,
WebAuthnURL: urlutil.WebAuthnURL(r, authenticateURL, state.sharedKey, r.URL.Query()),
- PomeriumVersion: version.FullVersion(),
}, nil
}
diff --git a/authenticate/handlers/userinfo.go b/authenticate/handlers/userinfo.go
index a44be11ba..99d227076 100644
--- a/authenticate/handlers/userinfo.go
+++ b/authenticate/handlers/userinfo.go
@@ -26,7 +26,6 @@ type UserInfoData struct {
WebAuthnCreationOptions *webauthn.PublicKeyCredentialCreationOptions
WebAuthnRequestOptions *webauthn.PublicKeyCredentialRequestOptions
WebAuthnURL string
- PomeriumVersion string
}
// ToJSON converts the data into a JSON map.
@@ -53,7 +52,6 @@ func (data UserInfoData) ToJSON() map[string]interface{} {
m["webAuthnCreationOptions"] = data.WebAuthnCreationOptions
m["webAuthnRequestOptions"] = data.WebAuthnRequestOptions
m["webAuthnUrl"] = data.WebAuthnURL
- m["pomeriumVersion"] = data.PomeriumVersion
return m
}
diff --git a/internal/httputil/errors.go b/internal/httputil/errors.go
index a3737a5cb..34da48ffd 100644
--- a/internal/httputil/errors.go
+++ b/internal/httputil/errors.go
@@ -52,7 +52,6 @@ func (e *HTTPError) ErrorResponse(w http.ResponseWriter, r *http.Request) {
StatusText string `json:"-"`
RequestID string `json:",omitempty"`
CanDebug bool `json:"-"`
- Version string `json:"-"`
DebugURL *url.URL `json:",omitempty"`
}{
Status: e.Status,
@@ -76,7 +75,6 @@ func (e *HTTPError) ErrorResponse(w http.ResponseWriter, r *http.Request) {
"requestId": response.RequestID,
"status": response.Status,
"statusText": response.StatusText,
- "version": response.Version,
}
if response.DebugURL != nil {
m["debugUrl"] = response.DebugURL.String()
diff --git a/ui/src/App.tsx b/ui/src/App.tsx
index 3df126663..179cbdc57 100644
--- a/ui/src/App.tsx
+++ b/ui/src/App.tsx
@@ -1,7 +1,6 @@
import Box from "@mui/material/Box";
import CssBaseline from "@mui/material/CssBaseline";
import { ThemeProvider } from "@mui/material/styles";
-import { get } from "lodash";
import React, { FC } from "react";
import ErrorPage from "./components/ErrorPage";
@@ -53,7 +52,7 @@ const App: FC = () => {
-
+
);
diff --git a/ui/src/components/Footer.tsx b/ui/src/components/Footer.tsx
index 9ac2d89ad..a738768ba 100644
--- a/ui/src/components/Footer.tsx
+++ b/ui/src/components/Footer.tsx
@@ -1,20 +1,17 @@
+import AppBar from "@mui/material/AppBar";
import Box from "@mui/material/Box";
import Stack from "@mui/material/Stack";
import React, { FC } from "react";
-import {FooterLink} from "./FooterLink";
-import AppBar from "@mui/material/AppBar";
-type FooterData = {
- pomeriumVersion?: string;
-}
+import { FooterLink } from "./FooterLink";
-const Footer: FC = ({pomeriumVersion}) => {
+const Footer: FC = () => {
return (
theme.zIndex.drawer + 1,
- top: 'auto',
+ top: "auto",
bottom: 0,
}}
>
@@ -31,40 +28,15 @@ const Footer: FC = ({pomeriumVersion}) => {
}}
>
-
- Home
-
+ Home
-
- Docs
-
+ Docs
-
- Support
-
+ Support
- {!!pomeriumVersion && (
-
- Pomerium Version: {pomeriumVersion}
-
- )}
);
};
diff --git a/ui/src/types/index.ts b/ui/src/types/index.ts
index 2776f625b..6f7f5ec94 100644
--- a/ui/src/types/index.ts
+++ b/ui/src/types/index.ts
@@ -92,7 +92,6 @@ export type ErrorPageData = BasePageData & {
requestId?: string;
status?: number;
statusText?: string;
- version?: string;
};
export type UserInfoData = {
@@ -104,7 +103,6 @@ export type UserInfoData = {
webAuthnCreationOptions?: WebAuthnCreationOptions;
webAuthnRequestOptions?: WebAuthnRequestOptions;
webAuthnUrl?: string;
- pomeriumVersion: string;
};
export type DeviceEnrolledPageData = BasePageData &