abacritt / angularx-social-login

Social login and authentication module for Angular 17
636 stars 387 forks source link

SocialAuthService #640

Closed JaiswalPiyush309 closed 1 year ago

JaiswalPiyush309 commented 1 year ago

when I declare 'private socialAuthService : SocialAuthService' in my login component constructor and run my project. Then my login-component HTML page is not working [I think routing is also not working it redirects my home page URL, not a login page URL, and when I explicitly hit login page URL but that time it also redirects home page] and I got some error on my console

ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(AppModule)[SocialAuthService -> SocialAuthServiceConfig -> SocialAuthServiceConfig -> SocialAuthServiceConfig]: NullInjectorError: No provider for SocialAuthServiceConfig! NullInjectorError: R3InjectorError(AppModule)[SocialAuthService -> SocialAuthServiceConfig -> SocialAuthServiceConfig -> SocialAuthServiceConfig]: NullInjectorError: No provider for SocialAuthServiceConfig!

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Marcodebo commented 1 year ago

@JaiswalPiyush309 do you have a solution for this problem?