abacritt / angularx-social-login

Social login and authentication module for Angular 17
630 stars 388 forks source link

SocialAuthService should not be provided in 'root' #771

Closed DmitryEfimenko closed 1 month ago

DmitryEfimenko commented 1 month ago

Providing it in root means that a lot of the dependencies pertaining to social login need to be loaded on the application start. If I want to defer loading of social login related functionality, I need a way to provide SocialAuthServiceConfig at the component level. This requires providing SocialAuthService also at the component level.

DmitryEfimenko commented 1 month ago

actually, manually providing it at the component level does the trick already. Closing this