From fc3239e4dd3d5bf44aae21034388a73c2fa0cae8 Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Tue, 26 May 2026 15:43:32 -0500 Subject: [PATCH] provider: name as "Intel Perf Platform" and drop unimplementable anon capability Two related changes to how this static site identifies itself to Meshery: - Set provider_name to "Intel Perf Platform" so Meshery's provider chooser shows a recognizable, branded label instead of the generic "Meshery". The chooser displays whatever provider_name the capabilities document returns (server/models/remote_provider.go:147 falls back to the URL host until the capabilities probe succeeds and overwrites it). - Remove the persist-anonymous-user capability. The static site has no /api/identity/users/anonymous endpoint, so when Meshery saw the capability it routed login through InterceptLoginAndInitiateAnonymousUserSession and POSTed there expecting JSON. Fastly answered with an HTML 405 page, and Meshery logged "invalid character '<' looking for beginning of value | Unable to unmarshal the : .user flow response" on every login. With the capability gone, InitiateLogin falls through to redirecting the user to /login, which this repo already serves via login.html. Signed-off-by: Lee Calcote --- capabilities | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/capabilities b/capabilities index d865a81..c584735 100644 --- a/capabilities +++ b/capabilities @@ -2,7 +2,7 @@ "provider_type": "remote", "package_version": "v0.8.157-1", "package_url": "https://github.com/meshery-extensions/meshery-extensions-packages/releases/download/v0.8.157-1/provider-meshery.tar.gz", - "provider_name": "Meshery", + "provider_name": "Intel Perf Platform", "provider_description": [ "Intel Performance Platform for use on internal networks in assessment of cloud native traffic with a specific focus on efficiencies in the configuraiton of Envoy, Nighthawk, Meshery and Intel hardware tuning." ], @@ -193,10 +193,6 @@ { "feature": "workspaces", "endpoint": "/api/workspaces" - }, - { - "feature": "persist-anonymous-user", - "endpoint": "/api/identity/users/anonymous" } ], "redirects": {