File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed
Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ export function requireValidAccessToken() {
6161 lastName : tokenPayload . user . lastName ,
6262 authType : 'oauth2' ,
6363 githubId : null
64+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
6465 } as any ; // Cast to any to avoid type conflicts with Lucia User type
6566
6667 request . log . debug ( {
@@ -207,6 +208,7 @@ export function requireAuthenticationAny() {
207208 lastName : tokenPayload . user . lastName ,
208209 authType : 'oauth2' ,
209210 githubId : null
211+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
210212 } as any ; // Cast to any to avoid type conflicts with Lucia User type
211213
212214 request . log . debug ( {
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ export default async function consentRoute(fastify: FastifyInstance) {
135135 request_id : request_id ,
136136 client_id : authRequest . clientId ,
137137 client_name : clientNames [ authRequest . clientId ] || authRequest . clientId ,
138+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
138139 user_email : ( request . user as any ) . email ,
139140 scopes : scopesWithDescriptions ,
140141 expires_at : authRequest . expiresAt . toISOString ( )
Original file line number Diff line number Diff line change 22import { getDb , getSchema } from '../../db' ;
33import { eq , and , lt } from 'drizzle-orm' ;
44import { generateId } from 'lucia' ;
5- import { hash , verify } from '@node-rs/argon2' ;
65import crypto from 'node:crypto' ;
76import type { FastifyBaseLogger } from 'fastify' ;
87
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ export class TokenService {
202202 return null ;
203203 }
204204
205- const [ rawToken , encodedPayload ] = parts ;
205+ const [ encodedPayload ] = parts ;
206206
207207 // Decode payload
208208 let payload : AccessTokenPayload & { iat : number ; exp : number } ;
You can’t perform that action at this time.
0 commit comments