Environment
- Access Manager 4.4
- Access Manager 4.4.3
- Access Manager 4.4.4
Situation
- WS-Trust and WS-Federation has been configured using the iManager Office 365 Domain configuration wizard
- Microsoft Teams returns: "error
"javascript error Object doesn't support property or method
'querySelector'" on "var n = document.querySelector('.smartbanner');" while processing the Access Manager login pages. Bypassing / ignoring the error message the login works without any further problems
Resolution
Backup and modify the the "nidp_latest.jsp" with the following entry:
+++++++++++++++++++++++++++++++++++++++++++++++++
try {
var n = document.querySelector('.smartbanner');
}
catch(error) {}
if (n) {
n.parentNode.removeChild(n);
}
+++++++++++++++++++++++++++++++++++++++++++++++++
try {
var n = document.querySelector('.smartbanner');
}
catch(error) {}
if (n) {
n.parentNode.removeChild(n);
}
+++++++++++++++++++++++++++++++++++++++++++++++++