Problem/Motivation
The expected social auth icons (Facebook, Google, etc.) do not load, and foreach() fails because the expected array is null, this breaks the login experience and shows warnings in the logs and UI.
![]()
Steps to reproduce
- Enable one or more Social Auth modules (e.g., Social Auth Google, Facebook) along with Gin Login module.
- Visit the login page (/user/login) after enabling social login.
- Observe: Social network icons do not appear.
Proposed resolution
- Update the
varbase_auth_preprocess_login_with()function to use$variables['networks']instead ofsocial_networks, as per Social Auth module changes. - Provide a custom image path to render on UI.
- Update the Twig template
login-with.html.twigto usenetworksvariable instead ofsocial_networks, and fallback to the custom image path if exist. - This ensures the social auth isons render properly when present.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes and Update Helper on new feature change/addition
- ✅ Release varbase-10.1.0-alpha2, varbase_auth-10.1.0-alpha2
Varbase update type
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
API changes
- N/A
Data model changes
- N/A
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | Log-in-vxb-06-23-2025_12_54_PM.png | 1.11 MB | rajab natshah |
| #3 | missing-icons.png | 1.57 MB | n.ghunaim |
Issue fork varbase_auth-3530703
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments
Comment #2
n.ghunaim commentedComment #3
n.ghunaim commentedComment #4
n.ghunaim commentedComment #5
n.ghunaim commentedComment #6
n.ghunaim commentedComment #7
n.ghunaim commentedComment #9
rajab natshahComment #11
rajab natshahComment #12
rajab natshahComment #13
rajab natshahComment #14
rajab natshahComment #15
rajab natshah✅ Released varbase_auth-10.1.0-alpha2
Comment #17
rajab natshah✅ Released varbase-10.1.0-alpha2