abacritt / angularx-social-login

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

<asl-google-signin-button> css properties cannot be overwritten #721

Closed northrain04 closed 6 months ago

northrain04 commented 11 months ago

I am trying to understand how to change the appereance of the Google SignIn button, but with the provided properties (like type, width, text,...) I cannot customize it enough to fit my application needs.

I suggest to expand the style properties that can be overridden and/or also put a method to call the sign in methods via code and not by clicking it.

If there is something that escapes me on that matter, any suggestion is welcome!

egssalih commented 10 months ago

This is a real concern; I hope it will be addressed. Tried clicking it virtually it doesn't work since it is loading iFrame

lwestfall commented 6 months ago

There's really not much that can be done here, google locks these buttons down hard. See my response to a similar issue and a SO explanation more pertinent to your complaint

Heatmanofurioso commented 6 months ago

Thanks for your answer @lwestfall Closing this as a duplicate of https://github.com/abacritt/angularx-social-login/issues/744 and leaving that one open, as I'll probably be adding your example to the readme, so people can see up to where can we customize it.