Google button preventing component from working #555
Unanswered
Mohamed-Sellahi
asked this question in
Q&A
Replies: 1 comment
-
@Mohamed-Sellahi, did you find any solution? How did you manage to fetch the user details whoever try to login? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to add google login into my material angular application. The component that should host the login button is part of an angular module that is lazy loaded.
Here is my setup:
In AppModule
In the AccountModule, I reimport
In my component template I have a
mat-list
where the social buttons should show. Only google login is configured for nowIn the dev tools, I can see that a new
script
tag is being added to my application<script async="" src="https://accounts.google.com/gsi/client"></script>
Problem :
Importing the
SocialLoginModule
intoAccountModule
preventsLoginComponent
to show, and seems to route me back to/
.Thank you for your help
Beta Was this translation helpful? Give feedback.
All reactions