Deactivate Social Platform Login (Facebook, Google)
I did not find any option to "deactivate" social media platform login… (I mean in the "authorization system page login" AND the "personal member profile")
Can someone give me a tip?
I dont want people to be able to login via social platforms because I see this as a security risk. In panic I removed the buttons with CSS-Code… not a very "clean" method.
Please advise!
Workaround from Beardo:
To restore the old authorization page look:
/* SOCIAL LOGIN BUTTONS HIDE */
.WaGadgetAuthorizationRequired .openAuthFormContainer {
border-right: none;
max-width: 0px;
padding-right: 40px;
display: none;
}
/* PADDING TO SOCIAL LOGIN BUTTONS HIDE */
.WaGadgetAuthorizationRequired .authFormContainer {
padding-left: 0;
}
To remove the login buttons from the member directory personal profiles (at the bottom):
/* MEMBER SOCIAL LOGIN BUTTONS HIDE */
#socialLoginContainer, #idSocialLoginContainer {
display: none;
}
Just copy/paste the above and update your “user.css” file.
-
My Name commented
So I realize this question is heckin' old, but there is a way to do this server-side instead of a CSS hack.
- In your web settings, enable "Theme overrides"
- Download the ZIP file that they then provide, which contains all the files for your active template, and unzip it somewhere on your computer
- Edit your local copy of the OAuthForm control, located for example in \Controls\OAuthForm\ControlTemplate.tpl
- It's basically a text file, and you can just wipe out the contents and save it as a blank file
- In Wild Apricot admin, go to Settings > Files, for example mycompany999.wildapricot.org/admin/settings/files/
- Under the folder "Theme_Overrides" you'll see a folder with your theme name, that has the same folder structure as your downloaded ZIP, but there are no actual files there, and that's OK, these are just your overrides and you don't have any yet
- There, navigate to the same folder for the file you edited, for example \Theme_Overrides\whiteboard_maya_blue.v3.0\Controls\OAuthForm\
- Now upload the ControlTemplate.tpl file you edited to that location
- Done! Reload your website page in a browser and you'll see your blank override file has taken effect.
- Note you may still need the aforementioned CSS tweak to get the padding right for the remaining login form, which is entered on the CSS page in your website admin:.WaGadgetAuthorizationRequired .authFormContainer
{ padding-left: 0; } -
an2ni commented
Where to do this? Path please?
-
Larry Roberts commented
Pretty poor way to clean this up. Wild Apricot should just have it as a configuration button in the Account Setup
-
Shannon Spence commented
I am in the Systems Pages for "Authorization Required" and cannot figure out how to disable social media login. Can someone give me step - by -step laymen instructions??? Thank you!
-
MB commented
@Beardo Thanks for this hack! Exactly what I was looking for. I agree with others though that this should be easy to do via Wild Apricot. However the admins on this page don't seem to understand the necessity for it.
-
Kearaujo commented
We really don't want these social media buttons on our login page. Please give us an option to deactivate them.
-
Lazar commented
I have to agree with everyone on the thread. It's crazy that there isn't an option to simply turn it off. I mean it's a neat feature, but for one there are certainly some customers that simply do not want it, and second it is a potential security risk as someone gave a good example above.
For now I guess CSS will have to do, but that only solves the first problem, not the second.
-
Admin WSSCSW commented
Please give us the choice to deactivate the social media login. We do not have this nor do we want it.
Thank you
-
Evgeny Zaritovskiy commented
Moving to Wishlist
-
Dmitry Buterin commented
We have not made a decision to change this yet so for now it is what it is.
-
buzzmaster56 commented
Thank you, TBOC, for this helpful Snippet!
-
mmcdaniel commented
[quote user="TBOC"][quote user="CatTravers"]
Ditto for setting the logged in members landing page. It's great that they gave us advance warning that the default would change and need to be manually restored, but it took two emails to tech support and 48 hours to get the link to the instructions on how to do this. Searching on the exact phraseology used in the heads-up email did not bring up the instructions.[/quote]
Wait… there actually IS a set of instructions to deactivate it? I am not sure if am tracking correctly…
[/quote]
I think CatTravers is referring to the member landing page there, not the social platform login.
-
Brenda Brooks commented
Thanks so much for the css code. Nice workaround until this feature can be turned off.
[quote user="TBOC"]
I used this and have it eliminated hidden entirely:
To restore the old authorization page look:
/*SOCIAL LOGIN BUTTONS HIDE*/
.WaGadgetAuthorizationRequired .openAuthFormContainer {
border-right: none;
max-width: 0px;
padding-right: 40px;
display: none;
}
/*PADDING TO SOCIAL LOGIN BUTTONS HIDE*/
.WaGadgetAuthorizationRequired .authFormContainer {
padding-left: 0;
}
To remove the login buttons from the member directory personal profiles (at the bottom):
/*MEMBER SOCIAL LOGIN BUTTONS HIDE*/
#socialLoginContainer, #idSocialLoginContainer {
display: none;
}
Just copy/paste the above and update your "user.css" file.[/quote]
-
CatTravers commented
I couldn't agree more. And clients who prefer not to add these buttons should not face demands to justify their reasons!
Ditto for setting the logged in members landing page. It's great that they gave us advance warning that the default would change and need to be manually restored, but it took two emails to tech support and 48 hours to get the link to the instructions on how to do this. Searching on the exact phraseology used in the heads-up email did not bring up the instructions.
I'm baffled as to why they didn't just include the link with the instructions in the advance warning email they sent out. Isn't it completely obvious that you need to tell people how when you warn them they will need to make a manual change? Also, they need to proofread those instructions, as they have referred to the "Members" menu as the "Membership" menu.
All in all, the login-related updates give the impression of something hastily cobbled together without taking a few minutes to think through the implications from the client point of view, and disregarding some really basic best practice precepts.
-
Evgeny Zaritovskiy commented
Same here with Christopher: what are the issues with Privacy and Security?
-
Rick Dalven commented
Thank you; exactly what I needed.
I do not want my membership to have the capability to use any social media to log in.
Changes of this nature should not only be a controllable option, but should also default to OFF/HIDDEN, and give us administrators to enable if WE choose.
-
Christopher commented
What "security" issues are there with FB login? FB has some serious security built into the use of 3rd party sign-ins so I'm not clear which issue you may have.
-
MJ commented
Am I the only one that thinks it's absurd that not only were these buttons added automatically, without permission- but that there is no clearly advertised "off" setting, forcing us to hide them with custom css? Really? There's privacy and security issues related to FB/G+ logins. We shouldn't be forced to remove them with a hack, and the login gadget should at least have a setting for these.
-
Carol Paterick commented
PERFECT! Thanks.
-
eberswine commented
Put this for a CSS override:
.WaGadgetAuthorizationRequired .openAuthFormContainer {
display: none !important;
}