//You need to import the old module as a work around, "AngularFireModule.initializeApp(environment.firebase)"
//Example:
import {AngularFireModule} from '@angular/fire/compat'
@NgModule({
declarations: [
...
],
imports: [
...
AngularFireModule.initializeApp(environment.firebase), // here you will put firbase config object
],
providers : [
..
]
})
export class AuthModule { }