{"id":201333,"date":"2020-11-24T23:04:28","date_gmt":"2020-11-24T15:04:28","guid":{"rendered":"http:\/\/4563.org\/?p=201333"},"modified":"2020-11-24T23:04:28","modified_gmt":"2020-11-24T15:04:28","slug":"%e5%be%ae%e6%9c%8d%e5%8a%a1%e6%9e%b6%e6%9e%84%e6%9d%83%e9%99%90%e9%aa%8c%e8%af%81%e7%b3%bb%e7%bb%9f%e9%99%a4%e4%ba%86-oauth2-%e5%a4%96%e8%bf%98%e6%9c%89%e5%93%aa%e4%ba%9b%e8%a7%a3%e5%86%b3%e6%96%b9","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=201333","title":{"rendered":"\u5fae\u670d\u52a1\u67b6\u6784\u6743\u9650\u9a8c\u8bc1\u7cfb\u7edf\u9664\u4e86 oauth2 \u5916\u8fd8\u6709\u54ea\u4e9b\u89e3\u51b3\u65b9\u6848\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5fae\u670d\u52a1\u67b6\u6784\u6743\u9650\u9a8c\u8bc1\u7cfb\u7edf\u9664\u4e86 oauth2 \u5916\u8fd8\u6709\u54ea\u4e9b\u89e3\u51b3\u65b9\u6848\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ReinerShir <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u5982\u679c\u505a\u7edf\u4e00\u9274\u6743\uff0c\u6bcf\u4e2a\u8bf7\u6c42\u90fd\u8981\u53bb\u8c03\u4e00\u4e0b\u9274\u6743\u63a5\u53e3\uff0c\u611f\u89c9\u6548\u7387\u5f88\u6162\uff0c\u6709\u6ca1\u6709\u66f4\u52a0\u7b80\u5355\u9ad8\u6548\u7387\u4e00\u70b9\u7684\u89e3\u51b3\u65b9\u6848\uff1f<\/p>\n<p>\u6700\u8fd1\u5728\u60f3\uff0c\u662f\u4e0d\u662f\u53ef\u4ee5\u6bcf\u4e2a\u670d\u52a1\u81ea\u5df1\u9a8c\u8bc1\u6743\u9650\uff0c\u4f46\u8f6c\u5ff5\u4e00\u60f3\uff0c\u6bcf\u4e2a\u670d\u52a1\u81ea\u5df1\u9274\u6743\u4e5f\u5c31\u610f\u5473\u7740\u6bcf\u4e2a\u670d\u52a1\u90fd\u53ef\u4ee5\u4fee\u6539\u6743\u9650\uff0c\u8fd9\u6837\u53ef\u80fd\u4f1a\u4e0d\u5927\u5b89\u5168\u3002      <\/p><\/div>\n<p><\/p>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>22<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4212558\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yc8332 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             jwt                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212559\" 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>                                                             \u770b\u6211\u7684 GitHub\uff1a https:\/\/github.com\/xuanbg\/gateway                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212560\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ReinerShir <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xuanbg \u5728\u7f51\u5173\u4e2d\u9274\u6743\u4f1a\u4e0d\u4f1a\u4e0d\u5927\u597d\uff1f \u6bd5\u7adf\u7f51\u5173\u662f\u6bcf\u4e2a\u8bf7\u6c42\u90fd\u8981\u901a\u8fc7\u7684\u670d\u52a1\uff0c\u8bf7\u6c42\u91cf\u4e0a\u6765\u4e86\u5f71\u54cd\u6548\u7387                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212561\" 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>                                                             @ReinerShir \u9274\u6743\u53ea\u9700\u8981 3ms\uff0c\u653e\u54ea\u91cc\u90fd\u5dee\u4e0d\u591a\u3002\u518d\u8bf4\uff0c\u7f51\u5173\u4e5f\u53ef\u4ee5\u6709\u591a\u4e2a\u670d\u52a1\u5b9e\u4f8b\u7684\u5440\uff0c\u524d\u9762\u641e\u4e2a Nginx \u505a\u4e2a\u8d1f\u8f7d\u5747\u8861\u5c31\u884c\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212562\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : defage <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7f13\u5b58                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212563\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : johnsona <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             oauth2 \u600e\u4e48\u641e\u5462\uff1f\u4f60\u81ea\u5df1\u641e\u4e00\u4e2a oauth2 server \u6388\u6743\u5417\uff1f\u5148\u81ea\u5df1\u63cf\u8ff0\u6e05\u695a\u5427\uff0c\u636e\u6211\u6240\u77e5\uff0c\u5f88\u591a\u4ec0\u4e48\u5fae\u670d\u52a1 oauth2 \u7684\u6587\u7ae0\u90fd\u5728\u778e\u626f\u3002<br \/>\u5f88\u7b80\u5355\u4e00\u4e2a\u529e\u6cd5\uff0c\u767b\u9646\u4e4b\u540e\uff0c\u8fd4\u56de token\uff0ctoken \u5b58 redis\uff0cvalue \u662f dict \u6570\u636e\uff0c\u6bd4\u5982\u6743\u9650\u96c6\u4e4b\u7c7b\u7684\u3002<br \/>\u8bf7\u6c42\u6765\u4e86\u76f4\u63a5\u53bb redis \u8bfb\u53d6\u5bf9\u5e94 token\uff0c\u6bd4\u8f83\u6743\u9650\u5c31\u5b8c\u4e8b\u4e86<br \/>\u90a3\u4e9b\u535a\u5ba2\u90fd\u5728\u4e71\u626f\uff0c\u8fd8\u6709\u4ec0\u4e48 jwt\uff0c\u4f60\u8981\u771f\u65e0\u72b6\u6001\u4e86\uff0c\u600e\u4e48\u51bb\u7ed3\u522b\u4eba\u8d26\u6237\uff0c\u4f60\u8fd8\u662f\u5b58\u4e0b\u6765\u641e\u9ed1\u540d\u5355\u4e4b\u7c7b\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212564\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ReinerShir <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @johnsona \u8fd9\u4e2a\u65b9\u6cd5\u6211\u77e5\u9053\uff0c\u4f46\u662f\u4f1a\u6709\u4e00\u4e9b\u95ee\u9898 1 \u3001\u6bcf\u4e2a\u670d\u52a1\u90fd\u9700\u8981\u8fde\u63a5 redis 2 \u3001\u6240\u6709\u670d\u52a1\u90fd\u53ef\u4ee5\u4fee\u6539\u6743\u9650\uff08\u5c31\u662f\u6211\u5f00\u5934\u8bf4\u7684\u90a3\u4e2a\u610f\u601d\uff0c\u4f1a\u4e0d\u4f1a\u6709\u5b89\u5168\u95ee\u9898\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212565\" 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>                                                             @johnsona oauth2 \u548c jwt \u662f\u4e24\u7801\u4e8b\u3002oauth2 \u53ef\u4ee5\u7528\u7b2c\u4e09\u65b9\u7684\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u9020\u8f6e\u5b50\uff0c\u6211\u6bd4\u8f83\u503e\u5411\u4e8e\u81ea\u9020\u8f6e\u5b50\u3002\u56e0\u4e3a\u6388\u6743\u5176\u5b9e\u662f\u548c\u4e1a\u52a1\u6709\u5173\u8054\u7684\uff0c\u867d\u7136\u53ea\u662f\u5f31\u5173\u8054\uff0c\u4f46\u7528\u7b2c\u4e09\u65b9\u7684\u603b\u5f52\u662f\u4e0d\u5f97\u52b2\uff0c\u8fd8\u662f\u81ea\u5df1\u641e\u4e00\u4e2a\u6700\u5408\u9002\u3002<\/p>\n<p>\u4e0d\u8fc7\u6211\u652f\u6301\u4f60\u5173\u4e8e token \u7684\u8bf4\u6cd5\uff0cjwt \u53ea\u9002\u7528\u4e0d\u9700\u8981\u9274\u6743\u7684 toC \u7cfb\u7edf\u6216\u8005\u6743\u9650\u8f83\u5c11\u7684\u8f7b\u91cf\u7ea7 toB \u7cfb\u7edf\u3002\u7a0d\u5fae\u5927\u4e00\u70b9\u7684\u7ba1\u7406\u7cfb\u7edf\u5c31\u4e0d\u9002\u5408\u7528 jwt \u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212566\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 5sheep <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c11\u5e74\uff0cOAuth2.0 \u4e0d\u662f\u7ed9\u5fae\u670d\u52a1\u9274\u6743\u7528\u7684\u3002 \u5f53\u7136\uff0c\u4f60\u975e\u8bf4\u5927\u70ae\u4e5f\u80fd\u6253\u6b7b\u868a\u5b50\uff0c\u54b1\u5c31\u4e0d\u7528\u5f80\u4e0b\u4ea4\u6d41\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212567\" 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>                                                             @ReinerShir \u670d\u52a1\u600e\u4e48\u53ef\u80fd\u53bb\u4fee\u6539\u6743\u9650\uff1f\u6388\u6743\u662f\u4e13\u95e8\u7684\u4e00\u4e2a\u6a21\u5757 \/\u670d\u52a1\u3002\u4f60\u53ef\u4ee5\u770b\u6211\u7684\uff1a https:\/\/github.com\/xuanbg\/insight_auth                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212568\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ReinerShir <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @5sheep \u6807\u9898\u63cf\u8ff0\u53ef\u80fd\u4e0d\u5927\u6b63\u786e\uff0c\u6211\u60f3\u8bf4\u7684\u662f\uff0c\u5fae\u670d\u52a1\u67b6\u6784\u9664\u4e86\u8d70\u7edf\u4e00\u9274\u6743\u670d\u52a1\u5916\u8fd8\u6709\u6ca1\u6709\u5176\u5b83\u89e3\u51b3\u65b9\u6848\uff08\u56e0\u4e3a\u6bcf\u4e2a\u8bf7\u6c42\u90fd\u8981\u53bb\u9274\u6743\uff09\uff0c\u6211\u77e5\u9053 oauth2 \u53ea\u662f\u4e00\u79cd\u534f\u8bae<\/p>\n<p>@xuanbg \u55ef\uff0c\u6211\u770b\u4e86\u4e0b\uff0c\u4f60\u8fd9\u4e2a\u6846\u67b6\u5e94\u8be5\u4e5f\u662f\u8d70\u7684\u7edf\u4e00\u8ba4\u8bc1\u670d\u52a1\uff0c\u5373\u6bcf\u4e2a\u8bf7\u6c42\u90fd\u8981\u53bb\u8c03\u9274\u6743\u63a5\u53e3\uff0c\u7eed\u671f\u3001\u5220\u9664\u7b49\u64cd\u4f5c\u90fd\u662f\u7edf\u4e00\u8c03\u7528\u9274\u6743\u670d\u52a1\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212569\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : okletswin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             OAuth \u662f\u505a\u8ba4\u8bc1\u7684\uff0c\u9a8c\u8bc1\u7528\u6237\u5408\u6cd5\u6709\u6548\uff0c\u975e\u9274\u6743\uff0c\u6743\u9650\u7684\u9274\u5b9a\u8fd8\u9700\u8981\u4f60\u7684\u7cfb\u7edf\u81ea\u5df1\u5b9e\u73b0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212570\" 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>                                                             @ReinerShir \u662f\u7684\uff0c\u57fa\u7840\u5c31\u662f Auth \u670d\u52a1\u3002\u6211\u53ea\u662f\u505a\u4e86\u4e9b\u4f18\u5316\uff0c\u4e0d\u9700\u8981\u6bcf\u6b21\u90fd\u8c03\u7528\u670d\u52a1\u3002\u5f53\u7136\u4e5f\u652f\u6301\u6bcf\u6b21\u90fd\u8c03\u7528\u670d\u52a1\uff0c\u8fd9\u6837\u7528\u6237\u6743\u9650\u5c31\u53ef\u4ee5\u5b9e\u65f6\u66f4\u65b0\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212571\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : johnsona <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xuanbg \u4f60\u600e\u4e48\u641e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212572\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : opengps <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ea\u6709\u81ea\u5df1\u5bb6\u7684\u4e1a\u52a1\uff0c\u76f4\u63a5 ip \u767d\u540d\u5355\u7701\u5fc3\u592a\u591a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212573\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : johnsona <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xuanbg \u6211\u770b\u5230\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212574\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : johnsona <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xuanbg \u6211\u4e2a\u4eba\u89c9\u5f97\uff0c\u4e00\u5f00\u59cb\u8981\u4e0d\u8981\u641e\u590d\u6742\u7684\u9274\u6743\uff0c\u6bd4\u5982 rbac\uff0c\u56e0\u4e3a\u4f60\u63a5\u53e3\u8981\u5b9a\u4e49\u6743\u9650\uff0c\u6570\u636e\u5e93\u8981\u5b58\u50a8\u6743\u9650\uff0c\u8fd8\u4f9d\u8d56\u540e\u53f0\u7ba1\u7406\u7cfb\u7edf\u53bb\u914d\u7f6e\u6743\u9650\uff0c\u8fd9\u8fd8\u53ea\u662f\u529f\u80fd\u6743\u9650\uff0c\u8fd8\u6709\u6570\u636e\u6743\u9650\u3002\u8fd8\u5f97\u770b\u56e2\u961f\uff0c\u56e2\u961f\u5176\u4ed6\u4eba\u8d1f\u8d23\u5199\u4e1a\u52a1\u903b\u8f91\u7684\uff0c\u8fd8\u5f97\u63d0\u793a\u4eba\u5bb6\u5728\u6bcf\u4e2a\u63a5\u53e3\u4e0a\u9762\u5199\u4e0a\u6743\u9650\u540d\u6216\u8005\u6743\u9650\u7801\u4e4b\u7c7b\u7684\uff0c\u7136\u540e\u53bb\u540e\u53f0\u81ea\u5df1\u914d\u7f6e\u4e00\u4e0b\uff0c\u6d41\u7a0b\u592a\u7e41\u7410\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212575\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : johnsona <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ReinerShir oauth2 \u4e5f\u662f\u90fd\u8981\u8fde\u63a5\u5230\u4e00\u4e2a server \u5427\uff0c\u6743\u9650\u662f\u6bcf\u4e2a\u670d\u52a1\u81ea\u5df1\u5b9a\u4e49\u7684\uff0c\u6bd4\u5982\u6211\u8fd9\u4e2a\u670d\u52a1\u7684\u8fd9\u4e2a\u63a5\u53e3\u8981\u6c42\u4ec0\u4e48\u89d2\u8272\u6216\u8005\u4ec0\u4e48\u6743\u9650\u540d\u624d\u80fd\u8bbf\u95ee\uff0c\u73b0\u5728\u6211\u53d8\u5366\u4e86\uff0c\u6211\u8bf4\u8fd9\u4e2a\u89d2\u8272\u4e0d\u8ba9\u4f60\u8bbf\u95ee\uff0c\u4e5f\u6ca1\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212576\" 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>                                                             @johnsona \u4f60\u8bf4\u7684\u8fd9\u4e9b\uff0c\u5728\u7cfb\u7edf\u8bbe\u8ba1\u9636\u6bb5\u89c4\u5212\u597d\u8d44\u6e90\u548c\u5bf9\u5e94\u63a5\u53e3 url \u5c31\u884c\u4e86\uff0c\u5e76\u4e0d\u9700\u8981\u5165\u4fb5\u5230\u4e1a\u52a1\u4ee3\u7801\u3002\u6211\u90fd\u662f\u76f4\u63a5 sql \u811a\u672c\u5199\u597d\uff0c\u4e00\u6b21\u5c31\u5bfc\u5165\u4e86\u3002\u4e5f\u6709\u540e\u53f0\u53ef\u4ee5\u914d\u7f6e\uff0c\u4e0d\u8fc7\u6ca1\u6709\u5199\u811a\u672c\u723d\u5229\u3002<\/p>\n<p>\u6570\u636e\u6743\u9650\u548c\u4e1a\u52a1\u8026\u5408\u592a\u7d27\u5bc6\uff0c\u6211\u7684\u6743\u9650\u6846\u67b6\u5c31\u6ca1\u6709\u8003\u8651\u652f\u6301\u3002\u6700\u65e9\u662f\u6709\u652f\u6301\u6309\u7ec4\u7ec7\u673a\u6784\u914d\u7f6e\u6570\u636e\u6743\u9650\u7684\uff0c\u540e\u6765\u89c9\u5f97\u867d\u7136\u53ef\u914d\u7f6e\uff0c\u4f46\u8fd8\u5f97\u5728\u4e1a\u52a1\u4ee3\u7801\u91cc\u9762\u53bb\u5b9e\u73b0\uff0c\u4e0d\u80fd\u505a\u5230\u5b8c\u5168\u8131\u79bb\u4e1a\u52a1\u5c31\u5e72\u6389\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212577\" 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>                                                             @xuanbg \u4e0a\u9762\u8bf4\u5230\u8d44\u6e90\u7684\u914d\u7f6e\uff0c\u5728\u8d44\u6e90\u914d\u7f6e\u6216\u5bfc\u5165\u5b8c\u6210\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u5728\u89d2\u8272\u7ba1\u7406\u91cc\u9762\u7ed9\u89d2\u8272\u5206\u914d\u6743\u9650\u4e86\u3002\u7528\u6237\u767b\u5f55\u65f6\u5c31\u4f1a\u6839\u636e\u89d2\u8272\u5206\u914d\u7684\u6743\u9650\u751f\u6210\u4e00\u4e2a\u6388\u6743\u7801\u96c6\u5408\uff0c\u7136\u540e\u7f51\u5173\u4e0a\u9762\u6536\u5230\u8bf7\u6c42\u5c31\u4f1a\u6839\u636e url \u5bf9\u5e94\u7684\u6388\u6743\u7801\u5bf9\u7528\u6237\u8fdb\u884c\u9274\u6743\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212578\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : neetrorschach <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528\u8fc7\u4e00\u6b21 oauth2\uff0c\u62ff\u6765\u8ba4\u8bc1\u7528\u6237\u5408\u6cd5\u53ef\u4ee5\uff0c\u51b3\u5b9a\u7528\u6237\u662f\u5426\u6709\u6743\u9650\u4e0d\u597d\u505a\u3002\u5f53\u8fd9\u4e2a\u6743\u9650\u670d\u52a1\u662f\u67d0\u4e2a\u533a\u57df\u5185\u7684\u516c\u5171\u670d\u52a1\u65f6\u5f80\u5f80\u53ea\u80fd\u505a\u5230\u767b\u5f55\u8ba4\u8bc1\uff0c\u81f3\u4e8e\u7528\u6237\u662f\u5426\u6709\u6743\u9650\u64cd\u4f5c\u67d0\u4e9b\u8d44\u6e90\u57fa\u672c\u4e0a\u8fd8\u662f\u5728\u5404\u81ea\u7684\u5b50\u7cfb\u7edf\u5185\u5b9e\u73b0\u7684\u3002\u9700\u8981\u5b50\u7cfb\u7edf\u5f00\u53d1\u4eba\u5458\u6309\u7167\u4f60\u7684\u5f00\u53d1\u6807\u51c6\u63a5\u5165\uff0c\u5bf9\u7cfb\u7edf\u4fb5\u5165\u6bd4\u8f83\u5927\u3002<br \/>\u6211\u7b2c\u4e00\u6b21\u5f00\u53d1\u63a5\u5165 oauth2 \u7684\u7cfb\u7edf\u65f6\uff0c\u5b8c\u5168\u6309\u7167\u5bf9\u65b9\u516c\u53f8\u7ed9\u7684\u5f00\u53d1\u624b\u518c\u505a\u7684\uff0c\u6bcf\u6b21\u8bf7\u6c42\u90fd\u53bb oauth2 \u7cfb\u7edf\u9a8c\u8bc1 token \u662f\u5426\u6709\u6548\u3002\u7cfb\u7edf\u4e0a\u7ebf\u534a\u5e74\u540e\u5bf9\u65b9\u8ddf\u6211\u8bf4\u7cfb\u7edf\u82b1\u4e86\u592a\u591a\u94b1\u4e86\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u8ba4\u8bc1\u7cfb\u7edf\u662f global \u7684\uff0c\u5b50\u516c\u53f8\u4f7f\u7528\u6309\u4f7f\u7528\u91cf\u8ba1\u8d39\u3002\u6309\u7167\u8fd9\u4e2a\u7528\u6cd5\uff0c\u6bcf\u5e74\u8981\u4ea4\u7ed9\u603b\u90e8\u5341\u51e0\u4e07\u3002\u7136\u540e\u5c31\u6539\u6210\u8ba4\u8bc1\u4e00\u6b21\uff0c\u628a token \u4fdd\u7559\u4e00\u661f\u671f\uff0ctoken \u8fc7\u671f\u540e\u7528 refresh token \u5237\u4e2a\u65b0\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4212579\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : KuroNekoFan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u611f\u89c9\u8ba4\u8bc1\u548c\u9274\u6743\u662f\u4e24\u56de\u4e8b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5fae\u670d\u52a1\u67b6\u6784\u6743\u9650\u9a8c\u8bc1\u7cfb\u7edf\u9664\u4e86 oau&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\/201333"}],"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=201333"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/201333\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=201333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=201333"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=201333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}