Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol. wisp.place

update oauth path so only domain is shown #5

closed opened by xan.lol targeting main from xan.lol/wisp.place-monorepo: main
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:q7suwaz53ztc4mbiqyygbn43/sh.tangled.repo.pull/3md5rmuidzd22
+3 -3
Diff #0
+1 -1
apps/main-app/src/index.ts
··· 427 427 prefix: '/' 428 428 }) 429 429 ) 430 - .get('/client-metadata.json', () => { 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
··· 134 134 135 135 // Production client with private_key_jwt 136 136 return { 137 - client_id: `${config.domain}/client-metadata.json`, 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
··· 228 228 229 229 Required endpoints: 230 230 - `/.well-known/atproto-did` - Returns your DID for lexicon resolution 231 - - `/client-metadata.json` - OAuth client metadata 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.

History

1 round 2 comments
sign up or login to add to the discussion
xan.lol submitted #0
1 commit
expand
update oauth path so only domain is shown
expand 2 comments

it got merged so idk why it didnt close

average tangled alpha experience

closed without merging