my own indieAuth provider! indiko.dunkirk.sh/docs
indieauth oauth2-server
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

bug: fix me handling

+2 -1
+2 -1
src/routes/indieauth.ts
··· 1374 1374 const expiresAt = Math.floor(Date.now() / 1000) + 60; // 60 seconds 1375 1375 1376 1376 db.query( 1377 - "INSERT INTO authcodes (code, user_id, client_id, redirect_uri, scopes, code_challenge, expires_at) VALUES (?, ?, ?, ?, ?, ?, ?)", 1377 + "INSERT INTO authcodes (code, user_id, client_id, redirect_uri, scopes, code_challenge, expires_at, me) VALUES (?, ?, ?, ?, ?, ?, ?, ?)", 1378 1378 ).run( 1379 1379 code, 1380 1380 user.userId, ··· 1383 1383 JSON.stringify(approvedScopes), 1384 1384 codeChallenge, 1385 1385 expiresAt, 1386 + me, 1386 1387 ); 1387 1388 1388 1389 // Store or update permission grant