diff --git a/adapters/oidc/js/src/main/resources/login-status-iframe.html b/adapters/oidc/js/src/main/resources/login-status-iframe.html index f7469bcf0a..e848dd60e9 100755 --- a/adapters/oidc/js/src/main/resources/login-status-iframe.html +++ b/adapters/oidc/js/src/main/resources/login-status-iframe.html @@ -79,6 +79,10 @@ function receiveMessage(event) { + if (typeof event.data !== 'string') { + return + } + var origin = event.origin; var data = event.data.split(' '); if (data.length != 2) {