Include user information and token expiration in authentication responses

Updated the `Token` schema to include `user` data and `expires_in` field. Adjusted backend `auth_service.py` to populate these fields while generating tokens. Replaced `getCurrentUserInfo` with `getCurrentUserProfile` in the frontend and disabled ESLint for generated files to suppress warnings.
This commit is contained in:
2025-11-02 04:36:29 +01:00
parent 0b0d1d2b06
commit e25b010b57
15 changed files with 37 additions and 48 deletions

View File

@@ -1,4 +1,5 @@
// This file is auto-generated by @hey-api/openapi-ts
/* eslint-disable */
export type * from './types.gen';
export * from './sdk.gen';