Reference: cleanup.rs line 27-29 (IdentityProvider::Firebase branch)
The cleanup module (compliance-agent/src/pentest/cleanup.rs) has a placeholder for Firebase identity provider that logs a warning and skips cleanup.
Implement Firebase user cleanup using the Firebase Admin SDK REST API:
- Get admin credentials from a service account JSON (FIREBASE_SERVICE_ACCOUNT env var)
- Exchange for an OAuth2 token via Google's token endpoint
- DELETE user via https://identitytoolkit.googleapis.com/v1/accounts:delete
Reference: cleanup.rs line 27-29 (IdentityProvider::Firebase branch)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The cleanup module (compliance-agent/src/pentest/cleanup.rs) has a placeholder for Firebase identity provider that logs a warning and skips cleanup.
Implement Firebase user cleanup using the Firebase Admin SDK REST API:
Reference: cleanup.rs line 27-29 (IdentityProvider::Firebase branch)