3 Commits

Author SHA1 Message Date
204c71d7b5 feat(auth): update claim-admin endpoint to use Firebase UID instead of ID token 2025-12-17 22:48:21 +09:00
4b5a8c1d46 feat(auth): add endpoint to set Firebase admin custom claim 2025-12-17 22:21:04 +09:00
8a549504a4 feat(auth): implement Firebase authentication and token verification
- Added FirebaseAuth struct and TokenVerifier interface for verifying Firebase ID tokens.
- Introduced FirebaseConfig struct in config to manage Firebase credentials and project ID.
- Implemented OAuth handler for Firebase ID token verification in HTTP handlers.
- Added middleware for authenticating requests using Firebase tokens.
- Updated router to conditionally apply authentication based on configuration.
- Created tests for the new authentication middleware.
- Added request and response types for Firebase OAuth handling.
- Included a sample JSON file for testing purposes.
2025-12-10 19:05:11 +09:00