From 3091c22efced8c759f38bf319c444b56c8e069a6 Mon Sep 17 00:00:00 2001 From: damedotblog Date: Wed, 23 Apr 2025 12:23:50 -0400 Subject: [PATCH] fix again --- src/contexts/AuthContext.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/contexts/AuthContext.js b/src/contexts/AuthContext.js index d0f666b..45628dd 100644 --- a/src/contexts/AuthContext.js +++ b/src/contexts/AuthContext.js @@ -4,17 +4,12 @@ import { BrowserOAuthClient } from '@atproto/oauth-client-browser'; // Create auth context export const AuthContext = createContext(null); -// Set the appropriate domain based on the current hostname -let domain = 'https://testing.cred.blue'; - -// Always use the current domain for client_id to ensure it matches the host -const metadataUrl = `https://testing.cred.blue/client-metadata.json`; // Client metadata for Bluesky OAuth const clientMetadata = { - client_id: metadataUrl, + client_id: `https://testing.cred.blue/client-metadata.json`, client_name: "cred.blue", - client_uri: domain, + client_uri: `https://testing.cred.blue`, redirect_uris: [`https://testing.cred.blue/login/callback`], logo_uri: `https://testing.cred.blue/favicon.ico`, scope: "atproto transition:generic", -- 2.51.2