{"id":26418,"date":"2024-10-27T10:52:35","date_gmt":"2024-10-27T10:52:35","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26418"},"modified":"2024-11-26T07:43:52","modified_gmt":"2024-11-26T07:43:52","slug":"%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%97%94%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-oauth2%eb%a1%9c-%eb%a1%9c%ea%b7%b8%ec%9d%b8-%eb%a1%9c%ea%b7%b8%ec%95%84%ec%9b%83-3","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/26418\/","title":{"rendered":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\uc624\ub298\ub0a0 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc778\uc99d\uacfc \uad8c\ud55c \ubd80\uc5ec\ub294 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc774\uba70, OAuth2\ub294 \uc774\ub97c \uad6c\ud604\ud558\ub294 \ub370 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud45c\uc900\uc785\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec OAuth2 \uae30\ubc18\uc758 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc758 \ubaa9\ud45c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c OAuth2\ub97c \ud1b5\ud574 \uc548\uc804\ud55c \uc778\uc99d \ubc29\uc2dd\uc744 \uc801\uc6a9\ud558\uace0, \uc774\ub97c \ud14c\uc2a4\ud2b8\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6b0\ub294 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h2>1. OAuth2\ub780?<\/h2>\n<p>OAuth2(\uc624AUTH 2.0)\ub294 \uc778\ud130\ub137 \uc0ac\uc6a9\uc790\ub4e4\uc774 \uc81c3\uc790 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \uc790\uc2e0\uc758 \uc815\ubcf4\ub97c \ub178\ucd9c\ud558\uc9c0 \uc54a\uace0\ub3c4 \ub2e4\ub978 \uc11c\ube44\uc2a4\uc5d0\uc11c \uc790\uc2e0\uc758 \uacc4\uc815\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ud5c8\uc6a9\ud558\ub294 \uad8c\ud55c \ubd80\uc5ec \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uae30\ubcf8\uc801\uc73c\ub85c OAuth2\ub294 \uc5d1\uc138\uc2a4 \ud1a0\ud070\uc744 \uae30\ubc18\uc73c\ub85c \uc791\uc5c5\ud558\uba70, \uc774 \ud1a0\ud070\uc744 \ud1b5\ud574 \uc0ac\uc6a9\uc790\ub294 \uc790\uc2e0\uc758 \ub370\uc774\ud130\uc5d0 \uc811\uadfc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \uc0ac\uc6a9\uc790\uc758 \ube44\ubc00\ubc88\ud638\ub97c \uacf5\uc720\ud560 \ud544\uc694\uac00 \uc5c6\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>1.1 OAuth2\uc758 \uad6c\uc131 \uc694\uc18c<\/h3>\n<ul>\n<li><strong>Resource Owner:<\/strong> \uc790\uc6d0 \uc18c\uc720\uc790, \uc77c\ubc18\uc801\uc73c\ub85c \uc0ac\uc6a9\uc790\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>Client:<\/strong> \uc790\uc6d0 \uc18c\uc720\uc790\uac00 \uc11c\ube44\uc2a4\ub97c \uc694\uccad\ud558\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>Authorization Server:<\/strong> \ud074\ub77c\uc774\uc5b8\ud2b8\uc758 \uc694\uccad\uc744 \uc778\uc99d\ud558\uace0 \ub3d9\uc758 \ud6c4 \uc5d1\uc138\uc2a4 \ud1a0\ud070\uc744 \ubc1c\uae09\ud558\ub294 \uc11c\ubc84\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>Resource Server:<\/strong> \ubcf4\ud638\ub41c \uc790\uc6d0(\uc608: \uc0ac\uc6a9\uc790 \ub370\uc774\ud130)\uc5d0 \uc811\uadfc\ud560 \uc218 \uc788\ub294 \uc11c\ubc84\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>1.2 OAuth2 \ud750\ub984<\/h3>\n<p>OAuth2\uc758 \uc778\uc99d \ud750\ub984\uc740 \ub2e4\uc74c\uacfc \uac19\uc774 \uc9c4\ud589\ub429\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\uc0ac\uc6a9\uc790\uac00 \ud074\ub77c\uc774\uc5b8\ud2b8\ub97c \ud1b5\ud574 Authorization Server\uc5d0 \uc778\uc99d \uc694\uccad\uc744 \ubcf4\ub0c5\ub2c8\ub2e4.<\/li>\n<li>\uc0ac\uc6a9\uc790\uac00 \uc778\uc99d\uc744 \uc131\uacf5\uc801\uc73c\ub85c \uc218\ud589\ud558\uba74 Authorization Server\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \uc5d1\uc138\uc2a4 \ud1a0\ud070\uc744 \ubc1c\uae09\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud074\ub77c\uc774\uc5b8\ud2b8\ub294 \ubc1c\uae09\ubc1b\uc740 \uc5d1\uc138\uc2a4 \ud1a0\ud070\uc744 Resource Server\uc5d0 \uc804\uc1a1\ud558\uc5ec \ubcf4\ud638\ub41c \uc790\uc6d0\uc5d0 \uc811\uadfc\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>2. \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud658\uacbd \uc124\uc815<\/h2>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud658\uacbd\uc744 \uc124\uc815\ud558\uae30 \uc704\ud574\uc11c\ub294 \uba3c\uc800 \ud544\uc694\ud55c \uc758\uc874\uc131\uc744 \ucd94\uac00\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774\ub97c \uc704\ud574 \uba3c\uc800 Spring Initializr\ub97c \ud65c\uc6a9\ud558\uc5ec \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/p>\n<h3>2.1 Spring Initializr\uc5d0\uc11c \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131\ud558\uae30<\/h3>\n<p>\ub2e4\uc74c\uacfc \uac19\uc740 \uc124\uc815\uc73c\ub85c \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>Project:<\/strong> Maven Project<\/li>\n<li><strong>Language:<\/strong> Java<\/li>\n<li><strong>Spring Boot:<\/strong> 2.6.3 (\ucd5c\uc2e0 \ubc84\uc804\uc744 \uc120\ud0dd\ud569\ub2c8\ub2e4)<\/li>\n<li><strong>Dependencies:<\/strong> Spring Web, Spring Security, Spring Data JPA, H2 Database<\/li>\n<\/ul>\n<h3>2.2 pom.xml \ud30c\uc77c \uc218\uc815\ud558\uae30<\/h3>\n<p>\ub2e4\uc74c\uc73c\ub85c, <code>pom.xml<\/code> \ud30c\uc77c\uc5d0 OAuth2 \uad00\ub828 \uc758\uc874\uc131\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>&lt;dependency&gt;\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\n    &lt;artifactId&gt;spring-boot-starter-oauth2-client&lt;\/artifactId&gt;\n    &lt;\/dependency&gt;\n    &lt;dependency&gt;\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\n    &lt;artifactId&gt;spring-boot-starter-oauth2-resource-server&lt;\/artifactId&gt;\n    &lt;\/dependency&gt;\n    <\/code><\/pre>\n<h2>3. OAuth2 \uc124\uc815<\/h2>\n<p>OAuth2\uc744 \uc124\uc815\ud558\uae30 \uc704\ud574 <code>application.yml<\/code> \ud30c\uc77c\uc744 \uc218\uc815\ud558\uc5ec Authorization Server\uc640 Resource Server \uc815\ubcf4\ub97c \uc785\ub825\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>spring:\n  security:\n    oauth2:\n      client:\n        registration:\n          google:\n            client-id: YOUR_CLIENT_ID\n            client-secret: YOUR_CLIENT_SECRET\n            scope:\n              - profile\n              - email\n            redirect-uri: \"{baseUrl}\/login\/oauth2\/code\/{registrationId}\"\n        provider:\n          google:\n            authorization-uri: https:\/\/accounts.google.com\/o\/oauth2\/auth\n            token-uri: https:\/\/oauth2.googleapis.com\/token\n            user-info-uri: https:\/\/www.googleapis.com\/oauth2\/v3\/userinfo\n            user-name-attribute: sub\n  <\/code><\/pre>\n<h2>4. \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0 \uc124\uc815<\/h2>\n<p>\uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0\ub97c \uc124\uc815\ud558\uc5ec \uc778\uc99d\uacfc \uc778\uac00\ub97c \ucc98\ub9ac\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uae30\ubcf8\uc801\uc778 \uc2dc\ud050\ub9ac\ud2f0 \uc124\uc815 \ud074\ub798\uc2a4 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>import org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.security.config.annotation.web.builders.HttpSecurity;\nimport org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;\nimport org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;\n\n@Configuration\n@EnableWebSecurity\npublic class SecurityConfig extends WebSecurityConfigurerAdapter {\n    @Override\n    protected void configure(HttpSecurity http) throws Exception {\n        http\n            .authorizeRequests()\n                .antMatchers(\"\/\", \"\/login\").permitAll()\n                .anyRequest().authenticated()\n                .and()\n            .oauth2Login();\n    }\n}\n<\/code><\/pre>\n<h2>5. \uc0ac\uc6a9\uc790 \uc815\ubcf4 \uac00\uc838\uc624\uae30<\/h2>\n<p>\uc0ac\uc6a9\uc790\uac00 \uc778\uc99d\uc5d0 \uc131\uacf5\ud558\uba74, OAuth2 \ud074\ub77c\uc774\uc5b8\ud2b8\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \uac00\uc838\uc635\ub2c8\ub2e4. \uc774\ub97c \uc704\ud574 \ucee8\ud2b8\ub864\ub7ec\ub97c \ub9cc\ub4ed\ub2c8\ub2e4.<\/p>\n<pre><code>import org.springframework.security.core.annotation.AuthenticationPrincipal;\nimport org.springframework.security.oauth2.core.user.OAuth2User;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RestController;\n\n@RestController\npublic class UserController {\n    @GetMapping(\"\/user\")\n    public OAuth2User getUser(@AuthenticationPrincipal OAuth2User principal) {\n        return principal;\n    }\n}\n<\/code><\/pre>\n<h2>6. \ud14c\uc2a4\ud2b8 \ubc0f \uc2e4\ud589<\/h2>\n<p>\uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2e4\ud589\ud558\uace0 \uc6f9 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c <code>http:\/\/localhost:8080<\/code>\uc5d0 \uc811\uadfc\ud569\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub294 \ub85c\uadf8\uc778 \ubc84\ud2bc\uc744 \ud074\ub9ad\ud558\uc5ec Google \ub85c\uadf8\uc778 \ud398\uc774\uc9c0\ub85c \ub9ac\ub514\ub809\uc158\ub429\ub2c8\ub2e4. \ub85c\uadf8\uc778 \ud6c4, <code>\/user<\/code> \uacbd\ub85c\ub97c \ud1b5\ud574 \uc790\uc2e0\uc758 \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec OAuth2\ub97c \ud1b5\ud574 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c OAuth2\uc758 \uae30\ubcf8 \uac1c\ub150, \ud544\uc694\ud55c \uc758\uc874\uc131 \uc124\uc815, \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0 \uc124\uc815 \ubc0f \uc0ac\uc6a9\uc790 \uc815\ubcf4 \uac00\uc838\uc624\uae30\ub97c \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uacfc\uc815\uc744 \ud1b5\ud574 \uc5ec\ub7ec\ubd84\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ubcf4\ub2e4 \uc548\uc804\ud55c \ub85c\uadf8\uc778 \uae30\ub2a5\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uac8c \ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\ucc38\uace0 \ubb38\ud5cc<\/h3>\n<ul>\n<li><a href=\"https:\/\/spring.io\/projects\/spring-security\">Spring Security<\/a><\/li>\n<li><a href=\"https:\/\/oauth.net\/2\/\">OAuth 2.0 Specification<\/a><\/li>\n<li><a href=\"https:\/\/spring.io\/guides\/gs\/spring-boot\/\">Spring Boot Guides<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc624\ub298\ub0a0 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc778\uc99d\uacfc \uad8c\ud55c \ubd80\uc5ec\ub294 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc774\uba70, OAuth2\ub294 \uc774\ub97c \uad6c\ud604\ud558\ub294 \ub370 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud45c\uc900\uc785\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec OAuth2 \uae30\ubc18\uc758 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc758 \ubaa9\ud45c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c OAuth2\ub97c \ud1b5\ud574 \uc548\uc804\ud55c \uc778\uc99d \ubc29\uc2dd\uc744 \uc801\uc6a9\ud558\uace0, \uc774\ub97c \ud14c\uc2a4\ud2b8\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6b0\ub294 \uac83\uc785\ub2c8\ub2e4. 1. OAuth2\ub780? OAuth2(\uc624AUTH 2.0)\ub294 \uc778\ud130\ub137 \uc0ac\uc6a9\uc790\ub4e4\uc774 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26418\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-26418","post","type-post","status-publish","format-standard","hentry","category-21"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/26418\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc624\ub298\ub0a0 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc778\uc99d\uacfc \uad8c\ud55c \ubd80\uc5ec\ub294 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc774\uba70, OAuth2\ub294 \uc774\ub97c \uad6c\ud604\ud558\ub294 \ub370 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud45c\uc900\uc785\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec OAuth2 \uae30\ubc18\uc758 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc758 \ubaa9\ud45c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c OAuth2\ub97c \ud1b5\ud574 \uc548\uc804\ud55c \uc778\uc99d \ubc29\uc2dd\uc744 \uc801\uc6a9\ud558\uace0, \uc774\ub97c \ud14c\uc2a4\ud2b8\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6b0\ub294 \uac83\uc785\ub2c8\ub2e4. 1. OAuth2\ub780? OAuth2(\uc624AUTH 2.0)\ub294 \uc778\ud130\ub137 \uc0ac\uc6a9\uc790\ub4e4\uc774 &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/26418\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T10:52:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:43:52+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/26418\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26418\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30\",\"datePublished\":\"2024-10-27T10:52:35+00:00\",\"dateModified\":\"2024-11-26T07:43:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26418\/\"},\"wordCount\":66,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/26418\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26418\/\",\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T10:52:35+00:00\",\"dateModified\":\"2024-11-26T07:43:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26418\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26418\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26418\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/26418\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc624\ub298\ub0a0 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc778\uc99d\uacfc \uad8c\ud55c \ubd80\uc5ec\ub294 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc774\uba70, OAuth2\ub294 \uc774\ub97c \uad6c\ud604\ud558\ub294 \ub370 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud45c\uc900\uc785\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec OAuth2 \uae30\ubc18\uc758 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc758 \ubaa9\ud45c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c OAuth2\ub97c \ud1b5\ud574 \uc548\uc804\ud55c \uc778\uc99d \ubc29\uc2dd\uc744 \uc801\uc6a9\ud558\uace0, \uc774\ub97c \ud14c\uc2a4\ud2b8\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6b0\ub294 \uac83\uc785\ub2c8\ub2e4. 1. OAuth2\ub780? OAuth2(\uc624AUTH 2.0)\ub294 \uc778\ud130\ub137 \uc0ac\uc6a9\uc790\ub4e4\uc774 &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/26418\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T10:52:35+00:00","article_modified_time":"2024-11-26T07:43:52+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/26418\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26418\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30","datePublished":"2024-10-27T10:52:35+00:00","dateModified":"2024-11-26T07:43:52+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26418\/"},"wordCount":66,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/26418\/","url":"https:\/\/atmokpo.com\/w\/26418\/","name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T10:52:35+00:00","dateModified":"2024-11-26T07:43:52+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26418\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26418\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26418\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, OAuth2 \uc2e4\ud589 \ud14c\uc2a4\ud2b8\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=26418"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26418\/revisions"}],"predecessor-version":[{"id":26419,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26418\/revisions\/26419"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}