alpha
Login
or
Join now
atpota.to
/
cred.blue
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix again
author
damedotblog
date
1 year ago
(Apr 23, 2025, 12:23 PM -0400)
commit
3091c22e
3091c22efced8c759f38bf319c444b56c8e069a6
parent
53703b00
53703b001a8991ea945f3f234f2a3216c89bbf17
+2
-7
1 changed file
Expand all
Collapse all
Unified
Split
src
contexts
AuthContext.js
+2
-7
src/contexts/AuthContext.js
Reviewed
···
4
4
// Create auth context
5
5
export const AuthContext = createContext(null);
6
6
7
7
-
// Set the appropriate domain based on the current hostname
8
8
-
let domain = 'https://testing.cred.blue';
9
9
-
10
10
-
// Always use the current domain for client_id to ensure it matches the host
11
11
-
const metadataUrl = `https://testing.cred.blue/client-metadata.json`;
12
7
13
8
// Client metadata for Bluesky OAuth
14
9
const clientMetadata = {
15
15
-
client_id: metadataUrl,
10
10
+
client_id: `https://testing.cred.blue/client-metadata.json`,
16
11
client_name: "cred.blue",
17
17
-
client_uri: domain,
12
12
+
client_uri: `https://testing.cred.blue`,
18
13
redirect_uris: [`https://testing.cred.blue/login/callback`],
19
14
logo_uri: `https://testing.cred.blue/favicon.ico`,
20
15
scope: "atproto transition:generic",