Skip to content
Snippets Groups Projects
Commit a0a5691b authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

handle error message in response

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2914 44740490-163a-0410-bde0-09ae8108e29a
parent a0a5d770
No related branches found
No related tags found
No related merge requests found
......@@ -32,11 +32,14 @@ function receive() {
if (urlParams.entityID) {
window.parent.DiscoJuice.Utils.log('ResponseLocation: Response from discovery service [' + sender + ']: ' + urlParams.entityID + ' subID: ' + urlParams.subID);
window.parent.DiscoJuice.Control.discoResponse(sender, urlParams.entityID, urlParams.subID);
} else if urlParams.error) {
window.parent.DiscoJuice.Control.ui.error("Error from IdP Discovery Service: " + urlParams.error);
} else {
window.parent.DiscoJuice.Utils.log('ResponseLocation: Response from discovery service [' + sender + ']: No valid response parameters');
}
}
</script>
</head>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment