-
Notifications
You must be signed in to change notification settings - Fork 0
Merge from dev #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge from dev #21
Conversation
…tion # Conflicts: # functions/package-lock.json # functions/package.json
…tion # Conflicts: # functions/src/controllers/auth_controller.ts # functions/src/routes/index.ts
…ser-and-application Feature/be 01 endpoints for user and application
fix: controllers & middlewares
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Enhancement, Documentation
Description
Add session cookie auth and CSRF protection
Implement application endpoints with validation
Support file uploads and Firebase storage
Enhance server CORS, cookies, and logging
Changes walkthrough 📝
3 files
Add Firebase storage bucket configurationEnable CORS and maxInstances for API functionUpdate dependencies and npm scripts15 files
Implement application endpoints and validationAdd session cookies, CSRF, and logout logicValidate session cookies instead of ID tokensIntroduce CSRF token protection middlewareAdd restrictToRole authorization middlewareCreate application-related API routesUpdate auth routes for session loginMount application routes in routerRemove auth middleware from ticket routesUse camelCase conversion for user requestsAdd cookie parsing, CSRF, session auth, loggingAdd application state and question typesAdd TypedRequestBody interfaceExtend fakery to generate application questionsExtract session cookies and UID utility1 files
Define RoleType enum1 files
Document application PATCH endpoint1 files