Just down a bit you can remove the user variable from "navigator.idSSO.app.onlogin = function (user) {"