This is a plugin allows users to login/register via their QQ account.
How to get it? npm i install nodebb-plugin-sso-qq-fixNPM: https://www.npmjs.com/package/nodebb-plugin-sso-qq-fix
Github:https://github.com/NodeBB-China/nodebb-plugin-sso-qq-fix
I've built an OAuth2 SSO client using the NodeBB Plugin SSO template code and would like to set the button image which shows up in the login page under "Alternative Logins"
How can I change that button image? It currently shows a blue box with a grey tick in it:
@danielflippance It's in the library.js file of the plugin
In the call to strategies.push
change this line icon: 'fa-check-square'
You will have to pass the name of a font awesome icon
@danielflippance if you want to use an image instead of a font awesome icon, then you will have to change the theme template (login.tpl) as well.
Many clients want to just bypass the login screen altogether, which case we just override the login route directly to send users to the oauth screen
@julian sorry to dig out this old topic, but is there a simple way to bypass the login screen from inside nodebb (or maybe inside the sso-plugin)?
I could do it in my proxy, but that does not feel like a clean solution.
What do you mean by bypassing the login screen? If you have an SSO plugin, disabling local logins from the ACP should bypass the login screen and send you directly to the SSO login.
Ah perfect. I completely missed that.