From 0ab3af52530a6e6d47120fb9f1c1ebbdb0adb911 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Mon, 16 Feb 2026 03:31:36 +0000 Subject: [PATCH] appview: fix oauth client URI there was a change that removed the scheme from appview host, this was not reflected in the non-dev oauth config. Signed-off-by: oppiliappan --- appview/oauth/oauth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appview/oauth/oauth.go b/appview/oauth/oauth.go index 4aa90221..6c4c105a 100644 --- a/appview/oauth/oauth.go +++ b/appview/oauth/oauth.go @@ -43,7 +43,7 @@ func New(config *config.Config, ph posthog.Client, db *db.DB, enforcer *rbac.Enf callbackUri := clientUri + "/oauth/callback" oauthConfig = oauth.NewLocalhostConfig(callbackUri, TangledScopes) } else { - clientUri = config.Core.AppviewHost + clientUri = "https://" + config.Core.AppviewHost clientId := fmt.Sprintf("%s/oauth/client-metadata.json", clientUri) callbackUri := clientUri + "/oauth/callback" oauthConfig = oauth.NewPublicConfig(clientId, callbackUri, TangledScopes) -- 2.51.2