{"id":126897,"date":"2024-04-25T11:53:15","date_gmt":"2024-04-25T03:53:15","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/126897.html"},"modified":"2024-04-25T11:53:17","modified_gmt":"2024-04-25T03:53:17","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8%e7%bd%91%e9%a1%b5%e5%ba%94%e7%94%a8%e4%b8%ad%e5%ae%9e%e7%8e%b0%e8%ae%a4%e8%af%81","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/126897.html","title":{"rendered":"\u5982\u4f55\u5728\u7f51\u9875\u5e94\u7528\u4e2d\u5b9e\u73b0\u8ba4\u8bc1"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/02172502\/4efff8c8-7ff2-4048-9774-56680cbcc36c.webp\" alt=\"\u5982\u4f55\u5728\u7f51\u9875\u5e94\u7528\u4e2d\u5b9e\u73b0\u8ba4\u8bc1\" \/><\/p>\n<p><p>\u8ba4\u8bc1\u5728\u7f51\u9875\u5e94\u7528\u4e2d\u662f\u786e\u4fdd\u7528\u6237\u8eab\u4efd\u5f97\u5230\u9a8c\u8bc1\u7684\u91cd\u8981\u8fc7\u7a0b\u3001\u5141\u8bb8\u8bbf\u95ee\u654f\u611f\u4fe1\u606f\u7684\u7528\u6237\u9700\u8981\u5148\u9a8c\u8bc1\u5176\u8eab\u4efd\u3001\u540c\u65f6\u4fdd\u62a4\u7f51\u9875\u5e94\u7528\u4e0d\u53d7\u672a\u6388\u6743\u548c\u6076\u610f\u8bbf\u95ee\u7684\u4fb5\u5bb3\u3002\u4f8b\u5982\uff0c<strong>\u4f7f\u7528\u4f20\u7edf\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u673a\u5236<\/strong>\uff0c\u662f\u4e00\u79cd\u5e38\u7528\u7684\u65b9\u5f0f\uff0c\u7528\u6237\u5728\u6ce8\u518c\u65f6\u4f1a\u521b\u5efa\u72ec\u4e00\u65e0\u4e8c\u7684\u51ed\u636e\uff0c\u5e76\u5728\u4e4b\u540e\u7684\u767b\u5f55\u8fc7\u7a0b\u4e2d\u4f7f\u7528\u8fd9\u4e9b\u51ed\u636e\u4ee5\u8bc1\u660e\u8eab\u4efd\u3002<\/p>\n<\/p>\n<p><p>\u7528\u6237\u540d\u548c\u5bc6\u7801\u7684\u9a8c\u8bc1\u65b9\u6cd5\u662f\u57fa\u4e8e\u201c\u77e5\u8bc6\u578b\u201d\u9a8c\u8bc1\uff0c\u7528\u6237\u9700\u8981\u8bc1\u660e\u4ed6\u4eec\u77e5\u6653\u67d0\u4e9b\u53ea\u6709\u672c\u4eba\u624d\u77e5\u9053\u7684\u4fe1\u606f\uff0c\u4ece\u800c\u83b7\u5f97\u7cfb\u7edf\u7684\u8bbf\u95ee\u6743\u3002\u7136\u800c\uff0c\u53ea\u4f7f\u7528\u7528\u6237\u540d\u548c\u5bc6\u7801\u7684\u8ba4\u8bc1\u65b9\u5f0f\u5e76\u4e0d\u8db3\u591f\u5b89\u5168\uff0c\u56e0\u4e3a\u5b83\u4eec\u53ef\u80fd\u88ab\u731c\u6d4b\u3001\u7a83\u53d6\u6216\u901a\u8fc7\u9493\u9c7c\u653b\u51fb\u65b9\u5f0f\u83b7\u53d6\u3002\u56e0\u6b64\uff0c\u5f88\u591a\u7f51\u9875\u5e94\u7528\u91c7\u7528\u4e86\u66f4\u4e3a\u5b89\u5168\u7684\u591a\u56e0\u7d20\u9a8c\u8bc1\uff08MFA\uff09\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u7528\u6237\u540d\u548c\u5bc6\u7801\u9a8c\u8bc1<\/p>\n<\/p>\n<p><p><strong>\u7528\u6237\u540d\u548c\u5bc6\u7801<\/strong>\u4e00\u76f4\u662f\u5b9e\u73b0\u7f51\u9875\u5e94\u7528\u8ba4\u8bc1\u7684\u5e38\u89c4\u65b9\u6cd5\u3002\u6b64\u65b9\u6cd5\u8981\u6c42\u7528\u6237\u63d0\u4f9b\u552f\u4e00\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u7ec4\u5408\u6765\u9a8c\u8bc1\u5176\u8eab\u4efd\u3002\u5f00\u53d1\u8005\u901a\u5e38\u9700\u8981\u5728\u540e\u7aef\u6570\u636e\u5e93\u4e2d\u5b89\u5168\u5730\u5b58\u50a8\u8fd9\u4e9b\u51ed\u8bc1\uff0c\u5e76\u5728\u767b\u5f55\u65f6\u5c06\u63d0\u4ea4\u7684\u51ed\u8bc1\u4e0e\u6570\u636e\u5e93\u4e2d\u7684\u8bb0\u5f55\u8fdb\u884c\u5339\u914d\u3002<\/p>\n<\/p>\n<p><p>\u52a0\u5f3a\u5bc6\u7801\u7b56\u7565\u662f\u4fdd\u62a4\u8d26\u6237\u5b89\u5168\u7684\u5173\u952e\u3002\u8fd9\u610f\u5473\u7740\u8981\u6c42\u7528\u6237\u521b\u5efa\u590d\u6742\u7684\u3001\u96be\u4ee5\u731c\u6d4b\u7684\u5bc6\u7801\uff0c\u4e5f\u8bb8\u8981\u7ed3\u5408\u5b57\u6bcd\u3001\u6570\u5b57\u548c\u7279\u6b8a\u5b57\u7b26\u3002\u6b64\u5916\uff0c\u5b9a\u671f\u66f4\u65b0\u5bc6\u7801\u548c\u8d26\u6237\u9501\u5b9a\u7b56\u7565\uff08\u5728\u591a\u6b21\u5931\u8d25\u7684\u767b\u5f55\u5c1d\u8bd5\u540e\uff09\uff0c\u662f\u8fdb\u4e00\u6b65\u786e\u4fdd\u5b89\u5168\u6027\u7684\u7b56\u7565\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u591a\u56e0\u7d20\u9a8c\u8bc1\uff08MFA\uff09<\/p>\n<\/p>\n<p><p>\u591a\u56e0\u7d20\u9a8c\u8bc1\uff08MFA\uff09\u901a\u8fc7\u8981\u6c42\u7528\u6237\u63d0\u4f9b\u4e24\u4e2a\u6216\u66f4\u591a\u9a8c\u8bc1\u56e0\u7d20\u6765\u63d0\u4f9b\u6bd4\u4f20\u7edf\u7528\u6237\u540d\u548c\u5bc6\u7801\u66f4\u9ad8\u5c42\u6b21\u7684\u5b89\u5168\u6027\u3002<strong>\u8fd9\u4e9b\u56e0\u7d20\u901a\u5e38\u6765\u81ea\u4ee5\u4e0b\u4e09\u4e2a\u7c7b\u522b\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u77e5\u8bc6\u578b\uff08\u67d0\u4e8b\u4f60\u77e5\u9053\uff09\uff1a\u5982\u5bc6\u7801\u3001PIN\u7801\u3002<\/li>\n<li>\u5360\u6709\u578b\uff08\u67d0\u4e8b\u4f60\u62e5\u6709\uff09\uff1a\u5982\u624b\u673a\u3001\u667a\u80fd\u5361\u3002<\/li>\n<li>\u751f\u7269\u8ba4\u8bc1\uff08\u67d0\u4e8b\u4f60\u662f\uff09\uff1a\u5982\u6307\u7eb9\u3001\u8679\u819c\u626b\u63cf\u3002<\/li>\n<\/ul>\n<p><p><strong>\u5b9e\u73b0MFA<\/strong>\u9700\u8981\u7f51\u9875\u5e94\u7528\u80fd\u591f\u4e0e\u4e00\u4e2a\u6216\u591a\u4e2a\u989d\u5916\u8eab\u4efd\u9a8c\u8bc1\u7ec8\u7aef\u4ea4\u4e92\uff0c\u4f8b\u5982\uff0c\u53d1\u9001\u77ed\u4fe1\u9a8c\u8bc1\u7801\u5230\u7528\u6237\u7684\u624b\u673a\u6216\u4f7f\u7528\u6307\u7eb9\u626b\u63cf\u5668\u8fdb\u884c\u751f\u7269\u7279\u5f81\u9a8c\u8bc1\u3002\u8fd9\u79cd\u65b9\u6cd5\u663e\u8457\u63d0\u9ad8\u4e86\u5b89\u5168\u6027\uff0c\u4f46\u4e5f\u9700\u8981\u989d\u5916\u7684\u5f00\u53d1\u548c\u96c6\u6210\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u5355\u70b9\u767b\u5f55\uff08SSO\uff09<\/p>\n<\/p>\n<p><p>\u5355\u70b9\u767b\u5f55\uff08SSO\uff09\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u4e00\u6b21\u8ba4\u8bc1\u5c31\u80fd\u8bbf\u95ee\u591a\u4e2a\u5f7c\u6b64\u4fe1\u4efb\u7684\u7f51\u9875\u5e94\u7528\u3002\u5e38\u89c1\u7684SSO\u8eab\u4efd\u63d0\u4f9b\u8005\u5305\u62ecGoogle\u3001Facebook\u548cTwitter\u3002<\/p>\n<\/p>\n<p><p><strong>\u91c7\u7528SSO<\/strong>\u80fd\u591f\u63d0\u4f9b\u4fbf\u5229\u7684\u7528\u6237\u4f53\u9a8c\uff0c\u56e0\u4e3a\u7528\u6237\u65e0\u9700\u8bb0\u5fc6\u591a\u4e2a\u4e0d\u540c\u7f51\u9875\u5e94\u7528\u7684\u767b\u5f55\u4fe1\u606f\u3002\u6b64\u5916\uff0cSSO\u4e5f\u7b80\u5316\u4e86\u5bc6\u7801\u7ba1\u7406\u548c\u8ba4\u8bc1\u6d41\u7a0b\u3002\u5b9e\u73b0SSO\u901a\u5e38\u6d89\u53ca\u5230OpenID Connect\u548cSAML\u7b49\u6807\u51c6\u534f\u8bae\uff0c\u786e\u4fdd\u4e0d\u540c\u7cfb\u7edf\u95f4\u53ef\u4ee5\u5b89\u5168\u5730\u5171\u4eab\u8ba4\u8bc1\u4fe1\u606f\u3002\u5f00\u53d1\u8005\u9700\u8981\u8003\u8651\u5982\u4f55\u96c6\u6210SSO\u670d\u52a1\u4ee5\u53ca\u5982\u4f55\u5728\u81ea\u5df1\u7684\u7f51\u9875\u5e94\u7528\u4e2d\u5904\u7406\u6765\u81eaSSO\u63d0\u4f9b\u8005\u7684\u8ba4\u8bc1\u54cd\u5e94\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u4ee4\u724c\u57fa\u8ba4\u8bc1<\/p>\n<\/p>\n<p><p>\u4ee4\u724c\u57fa\u8ba4\u8bc1\u673a\u5236\uff0c\u5982JSON Web Tokens\uff08JWT\uff09\u548cOAuth\uff0c\u662f\u73b0\u4ee3\u7f51\u9875\u5e94\u7528\u5e7f\u6cdb\u91c7\u7528\u7684\u8ba4\u8bc1\u624b\u6bb5\u3002\u4ee4\u724c\uff08Token\uff09\u5305\u542b\u4e86\u4e00\u5b9a\u7684\u7528\u6237\u4fe1\u606f\uff0c\u5e76\u901a\u5e38\u4ee5\u52a0\u5bc6\u65b9\u5f0f\u7b7e\u540d\u4ee5\u9632\u7be1\u6539\u3002<\/p>\n<\/p>\n<p><p>\u5f53\u7528\u6237\u6210\u529f\u767b\u5f55\u540e\uff0c\u670d\u52a1\u5668\u4f1a\u4ea7\u751f\u4e00\u4e2aToken\u5e76\u53d1\u9001\u7ed9\u5ba2\u6237\u7aef\uff0c\u968f\u540e\u7684\u6bcf\u6b21\u8bf7\u6c42\u4e2d\uff0c\u5ba2\u6237\u7aef\u90fd\u9700\u8981\u643a\u5e26\u8fd9\u4e2aToken\u4ee5\u4fbf\u670d\u52a1\u5668\u9a8c\u8bc1\u5176\u8eab\u4efd\u3002\u7ecf\u8fc7\u9a8c\u8bc1\u7684Token\u6388\u6743\u7528\u6237\u6267\u884c\u7279\u5b9a\u64cd\u4f5c\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e3a\u65e0\u72b6\u6001\u7684\u8ba4\u8bc1\u63d0\u4f9b\u4e86\u4fbf\u6377\u7684\u624b\u6bb5\uff0c\u5e76\u4e14\u53ef\u4ee5\u5f88\u597d\u5730\u4e0eRESTful\u670d\u52a1\u548c\u5355\u9875\u9762\u5e94\u7528\uff08SPA\uff09\u76f8\u7ed3\u5408\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u751f\u7269\u8ba4\u8bc1\u6280\u672f<\/p>\n<\/p>\n<p><p>\u968f\u7740\u6280\u672f\u7684\u8fdb\u6b65\uff0c<strong>\u751f\u7269\u7279\u5f81\u8bc6\u522b\u6280\u672f<\/strong>\u4e5f\u8d8a\u6765\u8d8a\u591a\u5730\u88ab\u96c6\u6210\u5230\u7f51\u9875\u5e94\u7528\u4e2d\u3002\u6307\u7eb9\u626b\u63cf\u3001\u9762\u90e8\u8bc6\u522b\u548c\u58f0\u7eb9\u8bc6\u522b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u751f\u7269\u8ba4\u8bc1\u65b9\u6cd5\u3002\u8fd9\u4e9b\u65b9\u6cd5\u5229\u7528\u7528\u6237\u7684\u751f\u7269\u7279\u5f81\u4fe1\u606f\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u5b89\u5168\u548c\u4fbf\u6377\u7684\u8ba4\u8bc1\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><p>\u7f51\u9875\u5e94\u7528\u4e2d\u96c6\u6210\u751f\u7269\u8ba4\u8bc1\u6280\u672f\u8981\u6c42\u517c\u5bb9\u786c\u4ef6\u8bbe\u65bd\uff0c\u5e76\u4e14\u9700\u8981\u5904\u7406\u590d\u6742\u7684\u751f\u7269\u7279\u5f81\u6570\u636e\uff0c\u4fdd\u8bc1\u5176\u5728\u4f20\u8f93\u548c\u5b58\u50a8\u8fc7\u7a0b\u4e2d\u7684\u5b89\u5168\u6027\u3002\u751f\u7269\u8ba4\u8bc1\u6280\u672f\u53ef\u4ee5\u7528\u4f5c\u591a\u56e0\u7d20\u8ba4\u8bc1\u4e2d\u7684\u4e00\u4e2a\u7ec4\u6210\u90e8\u5206\uff0c\u8fdb\u4e00\u6b65\u52a0\u5f3a\u8ba4\u8bc1\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u8ba4\u8bc1\u534f\u8bae\u548c\u6807\u51c6<\/p>\n<\/p>\n<p><p>\u5b9e\u73b0\u7f51\u9875\u5e94\u7528\u8ba4\u8bc1\u65f6\u8fd8\u9700\u8981\u4e86\u89e3\u5404\u79cd\u8ba4\u8bc1\u534f\u8bae\u548c\u6807\u51c6\uff0c\u4f8b\u5982OAuth 2.0\u3001OpenID Connect\u548cSecurity Assertion Markup Language\uff08SAML\uff09\u3002<strong>\u638c\u63e1\u8fd9\u4e9b\u534f\u8bae<\/strong>\u6709\u52a9\u4e8e\u5f00\u53d1\u8005\u6784\u5efa\u9075\u5faa\u6700\u4f73\u5b9e\u8df5\u7684\u8ba4\u8bc1\u673a\u5236\uff0c\u5e76\u786e\u4fdd\u4e0e\u5176\u4ed6\u670d\u52a1\u548c\u5e94\u7528\u7684\u517c\u5bb9\u6027\u3002<\/p>\n<\/p>\n<p><p>\u8fd9\u4e9b\u6807\u51c6\u5b9a\u4e49\u4e86\u4e0d\u540c\u7cfb\u7edf\u4e4b\u95f4\u5982\u4f55\u5b89\u5168\u5730\u4ea4\u6362\u8ba4\u8bc1\u548c\u6388\u6743\u4fe1\u606f\u3002\u4f8b\u5982\uff0cOAuth 2.0\u5141\u8bb8\u7b2c\u4e09\u65b9\u5e94\u7528\u4ee3\u8868\u7528\u6237\u8bbf\u95ee\u670d\u52a1\u5668\u8d44\u6e90\uff0c\u800c\u4e0d\u9700\u8981\u66b4\u9732\u7528\u6237\u7684\u51ed\u636e\u3002\u800cOpenID Connect\u5728OAuth 2.0\u7684\u57fa\u7840\u4e0a\u63d0\u4f9b\u4e86\u8eab\u4efd\u9a8c\u8bc1\u5c42\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u8ba4\u8bc1\u8fc7\u7a0b\u7684\u5b89\u5168\u6027<\/p>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u4f46\u540c\u6837\u91cd\u8981\u7684\u662f\uff0c<strong>\u8ba4\u8bc1\u8fc7\u7a0b\u7684\u5b89\u5168\u6027<\/strong>\u5fc5\u987b\u53d7\u5230\u91cd\u89c6\u3002\u8fd9\u6d89\u53ca\u5230\u4f7f\u7528HTTPS\u6765\u4fdd\u62a4\u6570\u636e\u5728\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u4f20\u8f93\u3001\u9632\u6b62\u4e2d\u95f4\u4eba\u653b\u51fb\uff0c\u52a0\u5bc6\u5b58\u50a8\u7528\u6237\u51ed\u8bc1\uff0c\u9632\u6b62SQL\u6ce8\u5165\u548c\u8de8\u7ad9\u811a\u672c\u653b\u51fb\u7b49\u5e38\u89c1\u7684\u5b89\u5168\u5a01\u80c1\u3002<\/p>\n<\/p>\n<p><p>\u52a0\u5bc6\u662f\u4fdd\u62a4\u8fc7\u7a0b\u4e2d\u4f20\u8f93\u6570\u636e\u4e0d\u88ab\u672a\u6388\u6743\u8bbf\u95ee\u7684\u5173\u952e\u6280\u672f\u3002\u786e\u4fdd\u6240\u6709\u8ba4\u8bc1\u76f8\u5173\u7684\u6570\u636e\u4f20\u8f93\u90fd\u662f\u901a\u8fc7\u52a0\u5bc6\u901a\u9053\u8fdb\u884c\uff0c\u6709\u52a9\u4e8e\u51cf\u5c11\u6570\u636e\u6cc4\u6f0f\u548c\u88ab\u62e6\u622a\u7684\u98ce\u9669\u3002\u6b64\u5916\uff0c\u5b9e\u65bd\u5e38\u89c4\u7684\u5b89\u5168\u68c0\u67e5\u548c\u66f4\u65b0\u8ba4\u8bc1\u65b9\u6848\u4ee5\u54cd\u5e94\u65b0\u51fa\u73b0\u7684\u5a01\u80c1\u4e5f\u540c\u6837\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u7f51\u9875\u5e94\u7528\u4e2d\u7684\u8ba4\u8bc1\u662f\u4ec0\u4e48\uff0c\u4e3a\u4ec0\u4e48\u9700\u8981\u8fdb\u884c\u8ba4\u8bc1\uff1f<\/strong><br \/>\n\u8ba4\u8bc1\u662f\u6307\u5728\u7f51\u9875\u5e94\u7528\u4e2d\u9a8c\u8bc1\u7528\u6237\u8eab\u4efd\u548c\u6743\u9650\u7684\u8fc7\u7a0b\u3002\u5728\u7f51\u9875\u5e94\u7528\u4e2d\u5b9e\u73b0\u8ba4\u8bc1\u7684\u76ee\u7684\u662f\u786e\u4fdd\u53ea\u6709\u7ecf\u8fc7\u6388\u6743\u7684\u7528\u6237\u624d\u80fd\u8bbf\u95ee\u7279\u5b9a\u7684\u529f\u80fd\u6216\u8d44\u6e90\uff0c\u4ee5\u4fdd\u62a4\u7528\u6237\u9690\u79c1\u548c\u786e\u4fdd\u6570\u636e\u5b89\u5168\u3002<\/p>\n<p><strong>2. \u5728\u7f51\u9875\u5e94\u7528\u4e2d\u5b9e\u73b0\u8ba4\u8bc1\u6709\u54ea\u4e9b\u5e38\u89c1\u7684\u65b9\u5f0f\uff1f<\/strong><br \/>\n\u5e38\u89c1\u7684\u7f51\u9875\u5e94\u7528\u8ba4\u8bc1\u65b9\u5f0f\u5305\u62ec\u57fa\u4e8e\u7528\u6237\u51ed\u8bc1\u7684\u8ba4\u8bc1\uff08\u5982\u7528\u6237\u540d\u548c\u5bc6\u7801\uff09\u3001OAuth\u8ba4\u8bc1\u3001\u7b2c\u4e09\u65b9\u793e\u4ea4\u5a92\u4f53\u8ba4\u8bc1\uff08\u4f8b\u5982\u4f7f\u7528Facebook\u6216Google\u8d26\u53f7\u767b\u5f55\uff09\u7b49\u3002\u6bcf\u79cd\u65b9\u5f0f\u90fd\u6709\u5176\u4f18\u70b9\u548c\u9002\u5e94\u573a\u666f\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u9002\u5408\u7684\u8ba4\u8bc1\u65b9\u5f0f\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u5728\u7f51\u9875\u5e94\u7528\u4e2d\u5b9e\u73b0\u8ba4\u8bc1\uff1f<\/strong><br \/>\n\u5728\u7f51\u9875\u5e94\u7528\u4e2d\u5b9e\u73b0\u8ba4\u8bc1\u901a\u5e38\u6d89\u53ca\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u6536\u96c6\u548c\u9a8c\u8bc1\u7528\u6237\u51ed\u8bc1\uff08\u5982\u7528\u6237\u540d\u548c\u5bc6\u7801\uff09\u3001\u5c06\u7528\u6237\u51ed\u8bc1\u4e0e\u5b58\u50a8\u5728\u6570\u636e\u5e93\u6216\u5176\u4ed6\u6570\u636e\u6e90\u4e2d\u7684\u7528\u6237\u4fe1\u606f\u8fdb\u884c\u6bd4\u5bf9\u3001\u751f\u6210\u8ba4\u8bc1\u4ee4\u724c\uff08\u5982JWT\uff09\u5e76\u5728\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u8fdb\u884c\u4f20\u8f93\u3001\u5728\u670d\u52a1\u5668\u7aef\u9a8c\u8bc1\u4ee4\u724c\u7684\u6709\u6548\u6027\u3001\u6839\u636e\u8ba4\u8bc1\u7ed3\u679c\u6388\u6743\u7528\u6237\u8bbf\u95ee\u76f8\u5e94\u7684\u529f\u80fd\u6216\u8d44\u6e90\u3002<\/p>\n<p>\u5728\u5b9e\u73b0\u8fd9\u4e9b\u6b65\u9aa4\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u73b0\u6210\u7684\u8ba4\u8bc1\u6846\u67b6\u6216\u5e93\uff0c\u5982Passport.js\u3001Spring Security\u7b49\uff0c\u6765\u7b80\u5316\u5f00\u53d1\u8fc7\u7a0b\u548c\u589e\u52a0\u5b89\u5168\u6027\u3002\u540c\u65f6\uff0c\u8fd8\u9700\u8981\u6ce8\u610f\u5904\u7406\u7528\u6237\u51ed\u8bc1\u7684\u5b89\u5168\u6027\uff0c\u5982\u4f7f\u7528\u52a0\u5bc6\u5b58\u50a8\u5bc6\u7801\u3001\u9632\u6b62\u8de8\u7ad9\u811a\u672c\u653b\u51fb\u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8ba4\u8bc1\u5728\u7f51\u9875\u5e94\u7528\u4e2d\u662f\u786e\u4fdd\u7528\u6237\u8eab\u4efd\u5f97\u5230\u9a8c\u8bc1\u7684\u91cd\u8981\u8fc7\u7a0b\u3001\u5141\u8bb8\u8bbf\u95ee\u654f\u611f\u4fe1\u606f\u7684\u7528\u6237\u9700\u8981\u5148\u9a8c\u8bc1\u5176\u8eab\u4efd\u3001\u540c\u65f6\u4fdd\u62a4\u7f51\u9875\u5e94\u7528\u4e0d\u53d7 [&hellip;]","protected":false},"author":3,"featured_media":126900,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/126897"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=126897"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/126897\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/126900"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=126897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=126897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=126897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}