Customsize the ui of the sso entrance
-
Something like this in the custom header in the ACP
(window); "use strict"; (function() { $(window).on("action:ajaxify.end", function(e, t) { if (t.url === "login" || t.url === "register") { var i = $(".alt-logins li.nodebb"); i.css("display", "none"); $('<a href="' + RELATIVE_PATH + '/auth/nodebb" class="btn btn-default"><i class="fa fa-external-link"></i> Login via NodeBB.org</a>').insertAfter(i) } })
})();
Replacing
nodebb
with your auth endpoint. I took that from the minified js, so I may have missed a bit off, but I'm not sure.
Copyright © 2024 NodeBB | Contributors