{"id":1042,"date":"2025-07-31T13:31:56","date_gmt":"2025-07-31T05:31:56","guid":{"rendered":"https:\/\/www.devhjz.com\/?page_id=1042"},"modified":"2025-07-31T13:52:43","modified_gmt":"2025-07-31T05:52:43","slug":"sso-logout","status":"publish","type":"page","link":"https:\/\/www.devhjz.com\/en-us\/sso-logout\/","title":{"rendered":"Single Sign-On Platform - Exit Page"},"content":{"rendered":"<p class=\"wp-block-paragraph\">This is the exit page for the application callback and you can view the Single Sign-On platform exit with the information below:<\/p>\n\n\n\n<!-- \u76ee\u6807\u5d4c\u5165\u533a\u5757 - \u65e0\u8fb9\u6846\u65e0\u80cc\u666f\u8272 -->\n<div id=\"targetContainer\" style=\"width: 100%; padding: 30px;\">\n  <!-- \u72b6\u6001\u6846\u5c06\u4f1a\u88ab\u5d4c\u5165\u5230\u8fd9\u91cc -->\n<\/div>\n\n<iframe id=\"logoutFrame\" src=\"https:\/\/sso.devhjz.com\/api\/logout\" style=\"display:none\"><\/iframe>\n\n<script>\n\/\/ \u83b7\u53d6\u76ee\u6807\u5bb9\u5668\nconst targetContainer = document.getElementById('targetContainer');\n\n\/\/ \u521b\u5efa\u72b6\u6001\u6846\nconst box = document.createElement('div');\nbox.style.maxWidth = '400px';\nbox.style.margin = '0 auto'; \/* \u5728\u76ee\u6807\u533a\u5757\u5185\u5c45\u4e2d *\/\nbox.style.padding = '20px';\nbox.style.borderRadius = '6px';\nbox.style.textAlign = 'center';\nbox.style.fontFamily = 'Arial, sans-serif';\nbox.style.fontSize = '16px';\nbox.textContent = '\u6b63\u5728\u7b49\u5f85\u5e73\u53f0\u54cd\u5e94...';\nbox.style.border = '1px solid #dee2e6';\nbox.style.backgroundColor = '#f8f9fa'; \/* \u52a0\u8f7d\u72b6\u6001\u80cc\u666f\u8272 *\/\nbox.style.color = '#6c757d';\n\n\/\/ \u5c06\u72b6\u6001\u6846\u5d4c\u5165\u5230\u76ee\u6807\u533a\u5757\ntargetContainer.appendChild(box);\n\n\/\/ \u8bb0\u5f55\u52a0\u8f7d\u72b6\u6001\nlet isLoaded = false;\n\n\/\/ \u76d1\u542ciframe\u52a0\u8f7d\u4e8b\u4ef6\ndocument.getElementById('logoutFrame').onload = function() {\n    isLoaded = true;\n    box.style.border = '1px solid #d6e9c6';\n    box.style.backgroundColor = '#dff0d8'; \/* \u6210\u529f\u72b6\u6001\u80cc\u666f\u8272 *\/\n    box.style.color = '#3c763d';\n    box.textContent = '\u60a8\u5df2\u6210\u529f\u4ece\u5355\u70b9\u767b\u5f55\u5e73\u53f0\u9000\u51fa\uff01';\n};\n\n\/\/ \u76d1\u542ciframe\u9519\u8bef\u4e8b\u4ef6\ndocument.getElementById('logoutFrame').onerror = function() {\n    isLoaded = true;\n    box.style.border = '1px solid #ebccd1';\n    box.style.backgroundColor = '#f2dede'; \/* \u5931\u8d25\u72b6\u6001\u80cc\u666f\u8272 *\/\n    box.style.color = '#a94442';\n    box.textContent = '\u9000\u51fa\u8bf7\u6c42\u5904\u7406\u5931\u8d25\uff01';\n};\n\n\/\/ \u8d85\u65f6\u5224\u65ad\nsetTimeout(function() {\n    if (!isLoaded) {\n        box.style.border = '1px solid #faebcc';\n        box.style.backgroundColor = '#fcf8e3'; \/* \u8d85\u65f6\u72b6\u6001\u80cc\u666f\u8272 *\/\n        box.style.color = '#8a6d3b';\n        box.textContent = '\u9000\u51fa\u8bf7\u6c42\u8d85\u65f6\uff01';\n    }\n}, 5000);\n<\/script>\n\n\n\n<p class=\"wp-block-paragraph\">If you exit successfully, it is still recommended that you close your browser for security purposes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you fail to log out, it indicates that your application has completed logging out and the SSO platform can successfully fail to perform the synchronized logout operation, so we recommend that you go to the SSO platform to check.<\/p>","protected":false},"excerpt":{"rendered":"<p>This is the exit page of the application callback, you can check the Single Sign-On platform exit status with the following information: If the exit is successful, it is still recommended that you close your browser to ensure safety. If it fails to exit, it means that your application has already completed the exit and the SSO platform has successfully failed to perform the synchronized exit operation, so we recommend that you go to the SSO platform to check.<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1042","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.devhjz.com\/en-us\/wp-json\/wp\/v2\/pages\/1042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devhjz.com\/en-us\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.devhjz.com\/en-us\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.devhjz.com\/en-us\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devhjz.com\/en-us\/wp-json\/wp\/v2\/comments?post=1042"}],"version-history":[{"count":12,"href":"https:\/\/www.devhjz.com\/en-us\/wp-json\/wp\/v2\/pages\/1042\/revisions"}],"predecessor-version":[{"id":1056,"href":"https:\/\/www.devhjz.com\/en-us\/wp-json\/wp\/v2\/pages\/1042\/revisions\/1056"}],"wp:attachment":[{"href":"https:\/\/www.devhjz.com\/en-us\/wp-json\/wp\/v2\/media?parent=1042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}