Alternative Logins Image
danielflippance last edited by
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.pushchange this line
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