Add gemini key ability

This commit is contained in:
Joey Yakimowich-Payne 2026-01-14 21:04:58 -07:00
commit 73c7d3efed
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
11 changed files with 793 additions and 228 deletions

View file

@ -34,6 +34,7 @@ export interface AuthenticatedUser {
preferred_username: string;
email?: string;
name?: string;
groups?: string[];
}
export interface AuthenticatedRequest extends Request {
@ -74,6 +75,7 @@ export function requireAuth(
preferred_username: payload.preferred_username || payload.sub!,
email: payload.email,
name: payload.name,
groups: payload.groups || [],
};
next();