feat(auth): integrate Firebase authentication and update auth flow
- Added Firebase authentication methods for login, signup, and password reset. - Replaced mock user database with Firebase user management. - Updated auth store to handle Firebase user state and authentication. - Implemented middleware for Firebase authentication in RPC routes. - Enhanced error handling and user feedback with toast notifications. - Added Toast component for user notifications in the UI. - Updated API client to include authorization headers for authenticated requests. - Removed unused CSRF token logic and related code.
This commit is contained in:
1
src/type.d.ts
vendored
1
src/type.d.ts
vendored
@@ -6,5 +6,6 @@ declare module "@httpClientAdapter" {
|
||||
export function httpClientAdapter(opts: {
|
||||
url: string;
|
||||
pathsForGET?: string[];
|
||||
headers?: () => Promise<{ Authorization?: undefined; } | { Authorization: string; }>
|
||||
}): TinyRpcClientAdapter;
|
||||
}
|
||||
Reference in New Issue
Block a user