{"id":535211,"date":"2021-08-30T23:29:34","date_gmt":"2021-08-30T15:29:34","guid":{"rendered":"http:\/\/4563.org\/?p=535211"},"modified":"2021-08-30T23:29:34","modified_gmt":"2021-08-30T15:29:34","slug":"%e7%bd%91%e5%85%b3%e7%bb%9f%e4%b8%80%e9%89%b4%e6%9d%83sso-%e5%8d%95%e7%82%b9%e7%99%bb%e5%bd%95%e7%9a%84%e6%9e%b6%e6%9e%84%e4%b8%ad%ef%bc%8c%e7%bd%91%e5%85%b3%e6%98%af-sso-client-%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=535211","title":{"rendered":"\u7f51\u5173\u7edf\u4e00\u9274\u6743+SSO \u5355\u70b9\u767b\u5f55\u7684\u67b6\u6784\u4e2d\uff0c\u7f51\u5173\u662f SSO Client \u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> \u7f51\u5173\u7edf\u4e00\u9274\u6743+SSO \u5355\u70b9\u767b\u5f55\u7684\u67b6\u6784\u4e2d\uff0c\u7f51\u5173\u662f SSO Client \u5417\uff1f <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sola97 <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u76ee\u524d\u9879\u76ee\u7684\u67b6\u6784\u662f<br \/> \u6709\u4e00\u4e2a\u767b\u5f55\u670d\u52a1\uff0c\u751f\u6210 token \u5199\u5165 redis<br \/> \u7136\u540e\u6709\u51e0\u4e2a web \u5e94\u7528\uff0c\u6bcf\u4e2a web \u5e94\u7528\u90fd\u9700\u8981\u8c03\u7528\u767b\u5f55\u670d\u52a1\u767b\u5f55\u540e\uff0c\u5e26\u4e0a token \u8c03\u7528\u5176\u4ed6\u670d\u52a1<br \/> \u60f3\u8981\u6539\u9020\u6210 SSO \u5355\u70b9\u767b\u5f55\uff0c\u5b9e\u73b0\u7f51\u5173\u9274\u6743+\u65e5\u5fd7\u7b49\u529f\u80fd<\/p>\n<p>\u76ee\u524d\u6211\u627e\u5230\u7684\u4e24\u7bc7\u6587\u7ae0\u6709<br \/> \u5fae\u670d\u52a1-API \u7f51\u5173-\u8eab\u4efd\u9a8c\u8bc1 <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/09\/20210917_6144ef056ab19.png\" alt=\"\u7f51\u5173\u7edf\u4e00\u9274\u6743+SSO \u5355\u70b9\u767b\u5f55\u7684\u67b6\u6784\u4e2d\uff0c\u7f51\u5173\u662f SSO Client \u5417\uff1f\" \/> \u591a\u6a21\u5757 web \u7cfb\u7edf\u767b\u5f55\u8bbe\u8ba1 <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/09\/20210917_6144ef0a854c1.png\" alt=\"\u7f51\u5173\u7edf\u4e00\u9274\u6743+SSO \u5355\u70b9\u767b\u5f55\u7684\u67b6\u6784\u4e2d\uff0c\u7f51\u5173\u662f SSO Client \u5417\uff1f\" \/><\/p>\n<p>\u8fd9\u79cd\u67b6\u6784\u4e2d\u5982\u679c\u8ba4\u8bc1\u670d\u52a1\u5668\u9881\u53d1 ticket \u540e\uff0c\u662f\u7f51\u5173\u6765\u6839\u636e ticket \u767b\u5f55\uff0c\u4e5f\u5c31\u662f SSO Client?<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"6687568\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xiaoyanbot <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u6b63\u5e38\u7684 jwt token \u4e0d\u7528\u5199\u5165 redis<br \/>\u53ea\u6709 ban\uff0c\u6216\u8005\u7528\u6237\u4e3b\u52a8\u6ce8\u9500\u7684 jwt token \u624d\u5199\u5165\u4e00\u4e2a \u672a\u8fc7\u671f\u7684 token \u7981\u6b62\u5217\u8868 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6687569\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : meshell <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u7f51\u5173\u9274\u6743\u662f\u4e0d\u662f\u53ea\u80fd\u9488\u5bf9 url \u9274\u6743\uff1f\u6211\u73b0\u5728\u7cfb\u7edf\u91cc\u9762\u5982\u679c\u5f04\u6210\u7f51\u5173\u9274\u6743\u5c31\u53ea\u80fd\u9488\u5bf9 url \u5904\u7406\uff0c\u4e0d\u80fd\u6839\u636e\u4e1a\u52a1\u6765\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6687570\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ccde8259 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> CAS \u7684 SSO \u4f18\u52bf\u4e3b\u8981\u662f\u57fa\u4e8e HTTP \u534f\u8bae\u5b8c\u6210\u5355\u70b9\u767b\u5f55\uff0c\u4e5f\u5c31\u662f\u5373\u4f7f\u4f60\u7684 Web \u5e94\u7528\u662f polyglot \u7684\u573a\u666f\u4e5f\u80fd\u5b8c\u6210\u9274\u6743\u3002<br \/>\u4e00\u4e2a\u7b80\u5355\u7684\u5b9e\u73b0\u662f\uff0c\u8ba9\u4f60\u7684 Web \u5e94\u7528\u5982\u4f55\u6210\u4e3a SSO Client \u3002\u7f3a\u9677\u5c31\u662f\u5404\u4e2a Web \u5e94\u7528\u8fd9\u4e2a\u573a\u666f\u4e0b\u5e76\u4e0d\u662f\u5171\u4eab Session \u7684\uff0c\u56e0\u4e3a CAS \u53ea\u8d1f\u8d23\u9274\u6743\u3002<br \/>\u5b9e\u73b0\u5171\u4eab Session \u5c31\u662f\u8ba9 Gateway \u6210\u4e3a SSO Client\uff0c\u7531 Gateway \u63a7\u5236 Session \u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6687571\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : securityCoding <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @meshell \u7406\u8bba\u4e0a\u7f51\u5173\u90fd\u662f\u6839\u636e url path \u5339\u914d\u8def\u7531\u89c4\u5219 , \u6bcf\u6761\u8def\u7531\u89c4\u5219\u53ef\u4ee5\u505a\u5404\u79cd\u5b9a\u5236\u5316\u7684\u914d\u7f6e <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6687572\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xuanbg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u7f51\u5173\u5df2\u7ecf\u5b9e\u73b0\u8ba4\u8bc1 \/\u9274\u6743\u4e86\uff0c\u5fae\u670d\u52a1\u90fd\u5728\u7f51\u5173\u540e\u9762\u4e86\uff0c\u8fd8\u8981\u4ec0\u4e48 token \u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6687573\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : THESDZ <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @xuanbg #5 \u662f\u4e0d\u7528 token,\u4f46\u662f\u8981\u5f53\u524d\u7528\u6237\u4fe1\u606f <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6687574\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : meshell <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @securityCoding \u5982\u679c\u662f\u8fd9\u6837\u7684\u8bdd\uff0c\u7b49\u4e8e\u7cfb\u7edf\u5f00\u59cb\u8bbe\u8ba1\u7684\u65f6\u5019 url \u8fd9\u4e9b\u5c31\u8981\u60f3\u597d\u4e86\u3002\u4e0d\u7136\u7f51\u5173\u91cc\u9762\u7684\u89c4\u5219\u7ecf\u5e38\u6539\u3002 \u6211\u4eec\u73b0\u5728\u8fd8\u662f\u5728\u4e0d\u540c\u7684\u670d\u52a1\u91cc\u9762\u505a\u9274\u6743\u8fd9\u6837\u5c31\u662f\u6bcf\u4e2a\u670d\u52a1\u90fd\u91cd\u590d\u4e86\u4e09\u4e2a\u6587\u4ef6\u8fd9\u4e9b\u6587\u4ef6\u6709\u53d8\u52a8\u5c31\u662f\u6240\u6709\u7684\u670d\u52a1\u53c8\u8981 copy \u4e00\u904d\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u7f51\u5173\u7edf\u4e00\u9274\u6743+SSO \u5355\u70b9\u767b\u5f55\u7684\u67b6&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/535211"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=535211"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/535211\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=535211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=535211"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=535211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}