Suggestions for how to handle push notifications in project with auth wall?

In my projects I usually set-up my push notification initialization and operations in my app.component.ts file. However, when creating a project with an auth wall (login/registration), is it a better practice to have the push initialization moved to behind the authorization, or should you always keep the initialization in the app.component.ts and just figure out a way to only subscribe users once authenticated?