tangled
alpha
login
or
join now
xan.lol
/
wisp.place-monorepo
forked from
nekomimi.pet/wisp.place-monorepo
0
fork
atom
Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol.
0
fork
atom
overview
issues
pulls
pipelines
update oauth path so only domain is shown
xan.lol
1 month ago
308f1835
ce40506c
verified
This commit was signed with the committer's
known signature
.
xan.lol
SSH Key Fingerprint:
SHA256:7Zs+dcly5YqxBg7v8XsE1uPMYCobHKBw7CDiNxpmSrY=
+3
-3
3 changed files
expand all
collapse all
unified
split
apps
main-app
src
index.ts
lib
oauth-client.ts
docs
src
content
docs
deployment.md
+1
-1
apps/main-app/src/index.ts
reviewed
···
427
427
prefix: '/'
428
428
})
429
429
)
430
430
-
.get('/client-metadata.json', () => {
430
430
+
.get('/oauth-client-metadata.json', () => {
431
431
return createClientMetadata(config)
432
432
})
433
433
.get('/jwks.json', async ({ set }) => {
+1
-1
apps/main-app/src/lib/oauth-client.ts
reviewed
···
134
134
135
135
// Production client with private_key_jwt
136
136
return {
137
137
-
client_id: `${config.domain}/client-metadata.json`,
137
137
+
client_id: `${config.domain}/oauth-client-metadata.json`,
138
138
client_name: config.clientName,
139
139
client_uri: `https://wisp.place`,
140
140
logo_uri: `${config.domain}/logo.png`,
+1
-1
docs/src/content/docs/deployment.md
reviewed
···
228
228
229
229
Required endpoints:
230
230
- `/.well-known/atproto-did` - Returns your DID for lexicon resolution
231
231
-
- `/client-metadata.json` - OAuth client metadata
231
231
+
- `/oauth-client-metadata.json` - OAuth client metadata
232
232
- `/jwks.json` - OAuth signing keys
233
233
234
234
These are automatically served by the backend.