{"id":26440,"date":"2024-10-27T10:52:41","date_gmt":"2024-10-27T10:52:41","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26440"},"modified":"2024-11-26T07:42:50","modified_gmt":"2024-11-26T07:42:50","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-14","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/26440\/","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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\ucd5c\uadfc \uba87 \ub144 \ub3d9\uc548 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubcf4\uc548\uc131\uacfc \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc29\uc2dd\uc740 \uae09\uaca9\ud788 \ubcc0\ud654\ud558\uc600\uc2b5\ub2c8\ub2e4. \ud2b9\ud788, OAuth2\ub294 \ub9ce\uc740 \uc6f9 \uc11c\ube44\uc2a4\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc778\uc99d\uc744 \ucc98\ub9ac\ud558\ub294 \ud45c\uc900\uc73c\ub85c \uc790\ub9ac \uc7a1\uc558\uc2b5\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud558\uc5ec OAuth2\ub85c \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604 \ubc29\ubc95\uacfc \ud1a0\ud070 \ubc1c\uae09 \uc808\ucc28\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ub4dc\ub9ac\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc744 \ud1b5\ud574 OAuth2\uc758 \uae30\ubcf8 \uc6d0\ub9ac\uc640 \ud568\uaed8, \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\uc5d0 \ud544\uc694\ud55c \uae30\uc220\uc744 \uc775\ud788\uc2e4 \uc218 \uc788\uc744 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h2>1. OAuth2\ub780 \ubb34\uc5c7\uc778\uac00?<\/h2>\n<p>OAuth2\ub294 \uc0ac\uc6a9\uc790 \uc778\uc99d\uc744 \uc704\ud55c \ud504\ub85c\ud1a0\ucf5c\ub85c, \uc0ac\uc6a9\uc790\uac00 \uc81c\uc0bc\uc790 \uc11c\ube44\uc2a4\uc5d0 \uc790\uc2e0\uc758 \uc815\ubcf4\ub97c \uc81c\uacf5\ud558\uc9c0 \uc54a\uace0\ub3c4 \uad8c\ud55c\uc744 \ubd80\uc5ec\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc571\uc774\ub098 \uc11c\ube44\uc2a4\uac00 \uc0ac\uc6a9\uc790\uc758 \ub9ac\uc18c\uc2a4\uc5d0 \uc811\uadfc\ud560 \uc218 \uc788\uac8c \ub418\ub294 \uac83\uc785\ub2c8\ub2e4. OAuth2\uc758 \uc8fc\uc694 \uad6c\uc131 \uc694\uc18c\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\uc0ac\uc6a9\uc790(Resource Owner):<\/strong> \uc790\uc2e0\uc758 \uc815\ubcf4\ub97c \ubcf4\ud638\ud558\uace0 \uad00\ub9ac\ud558\ub294 \uc8fc\uccb4\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\ud074\ub77c\uc774\uc5b8\ud2b8(Client):<\/strong> \uc0ac\uc6a9\uc790 \ub300\uc2e0 \ub9ac\uc18c\uc2a4\uc5d0 \uc811\uadfc\ud558\ub824\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc790\uc6d0 \uc11c\ubc84(Resource Server):<\/strong> \ubcf4\ud638\ub41c \ub9ac\uc18c\uc2a4\ub97c \uc81c\uacf5\ud558\ub294 \uc11c\ubc84\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc778\uc99d \uc11c\ubc84(Authorization Server):<\/strong> \uc0ac\uc6a9\uc790\uc758 \uc778\uc99d\uc744 \ucc98\ub9ac\ud558\uace0 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \uc811\uadfc \ud1a0\ud070\uc744 \ubc1c\uae09\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780?<\/h2>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub294 \uc790\ubc14\uc758 \uc2a4\ud504\ub9c1 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \ud504\ub85c\uc81d\ud2b8\ub85c, \ube60\ub974\uac8c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ud50c\ub7ab\ud3fc\uc785\ub2c8\ub2e4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc7a5\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc124\uc815\uc758 \uac04\uc18c\ud654: \uae30\ubcf8\uac12\uc73c\ub85c \uc124\uc815\ub41c \ub2e4\uc591\ud55c \uc124\uc815 \ub355\ubd84\uc5d0 \ubcf5\uc7a1\ud55c \uc124\uc815 \uc5c6\uc774\ub3c4 \ube60\ub974\uac8c \uc2dc\uc791\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc790\ub3d9 \uad6c\uc131: \ud544\uc694\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uac04\ub2e8\ud788 \ucd94\uac00\ud568\uc73c\ub85c\uc368 \uc790\ub3d9\uc73c\ub85c \uad6c\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc2a4\ud0c0\ud130 \ud328\ud0a4\uc9c0: \uc5ec\ub7ec \uc885\uc18d\uc131\uacfc \uc124\uc815\uc744 \uaddc\ud569\ud55c \uc2a4\ud0c0\ud130 \ud328\ud0a4\uc9c0\ub97c \uc81c\uacf5\ud558\uc5ec \uac1c\ubc1c \uc18d\ub3c4\ub97c \ub192\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>3. OAuth2 \ub85c\uadf8\uc778 \uc2dc\uc2a4\ud15c \uad6c\ucd95 \uc900\ube44\ud558\uae30<\/h2>\n<h3>3.1 \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h3>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\uae30 \uc704\ud574 \uba3c\uc800 <a href=\"https:\/\/start.spring.io\/\">Spring Initializr<\/a>\ub97c \uc774\uc6a9\ud558\uc5ec \uae30\ubcf8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \uc758\uc874\uc131\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>Spring Web<\/li>\n<li>Spring Security<\/li>\n<li>OAuth2 Client<\/li>\n<li>Spring Data JPA<\/li>\n<li>H2 Database (\uac1c\ubc1c\uc6a9)<\/li>\n<\/ul>\n<h3>3.2 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870<\/h3>\n<pre>\n        \/src\n        \u2514\u2500\u2500 main\n            \u251c\u2500\u2500 java\n            \u2502   \u2514\u2500\u2500 com\n            \u2502       \u2514\u2500\u2500 example\n            \u2502           \u2514\u2500\u2500 oauth2demo\n            \u2502               \u251c\u2500\u2500 controller\n            \u2502               \u251c\u2500\u2500 model\n            \u2502               \u251c\u2500\u2500 repository\n            \u2502               \u251c\u2500\u2500 security\n            \u2502               \u2514\u2500\u2500 service\n            \u2514\u2500\u2500 resources\n                \u251c\u2500\u2500 application.properties\n                \u2514\u2500\u2500 static\n    <\/pre>\n<h3>3.3 application.properties \uc124\uc815<\/h3>\n<p>OAuth2\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc544\ub798\uc640 \uac19\uc740 \uc124\uc815\uc744 \ud574\uc90d\ub2c8\ub2e4. Google OAuth2\ub97c \uc608\ub85c \ub4e4\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<pre>\n        spring.security.oauth2.client.registration.google.client-id=YOUR_CLIENT_ID\n        spring.security.oauth2.client.registration.google.client-secret=YOUR_CLIENT_SECRET\n        spring.security.oauth2.client.registration.google.redirect-uri={baseUrl}\/login\/oauth2\/code\/{registrationId}\n        spring.security.oauth2.client.registration.google.scope=profile, email\n        spring.security.oauth2.client.provider.google.authorization-uri=https:\/\/accounts.google.com\/o\/oauth2\/auth\n        spring.security.oauth2.client.provider.google.token-uri=https:\/\/oauth2.googleapis.com\/token\n        spring.security.oauth2.client.provider.google.user-info-uri=https:\/\/www.googleapis.com\/oauth2\/v3\/userinfo\n    <\/pre>\n<h2>4. \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0 \uc124\uc815<\/h2>\n<p>\uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc778\uc99d \ubc0f \uad8c\ud55c \ubd80\uc5ec\ub97c \uad00\ub9ac\ud569\ub2c8\ub2e4. \uc544\ub798\ub294 \uae30\ubcf8\uc801\uc778 \ubcf4\uc548 \uc124\uc815 \uc608\uc2dc\uc785\ub2c8\ub2e4:<\/p>\n<pre>\n    import org.springframework.context.annotation.Bean;\n    import org.springframework.context.annotation.Configuration;\n    import org.springframework.security.config.annotation.web.builders.HttpSecurity;\n    import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;\n    import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;\n\n    @Configuration\n    @EnableWebSecurity\n    public class SecurityConfig extends WebSecurityConfigurerAdapter {\n        @Override\n        protected void configure(HttpSecurity http) throws Exception {\n            http\n                .authorizeRequests()\n                .anyRequest().authenticated()\n                .and()\n                .oauth2Login();\n        }\n    }\n    <\/pre>\n<h2>5. \uc0ac\uc6a9\uc790 \uc815\ubcf4 \uac00\uc838\uc624\uae30<\/h2>\n<p>\uc0ac\uc6a9\uc790\uac00 \ub85c\uadf8\uc778\uc744 \uc644\ub8cc\ud558\uba74, \ud074\ub77c\uc774\uc5b8\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc778\uc99d \uc815\ubcf4\ub97c \uc5bb\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uc758 \uc815\ubcf4\ub97c \uac00\uc838\uc624\uae30 \uc704\ud574 \uc544\ub798\uc758 \uc11c\ube44\uc2a4\ub97c \uad6c\ud604\ud569\ub2c8\ub2e4:<\/p>\n<pre>\n    import org.springframework.security.core.Authentication;\n    import org.springframework.security.oauth2.core.user.OAuth2User;\n    import org.springframework.stereotype.Service;\n\n    @Service\n    public class UserService {\n        public String getCurrentUserName(Authentication authentication) {\n            OAuth2User oauth2User = (OAuth2User) authentication.getPrincipal();\n            return oauth2User.getAttribute(\"name\");\n        }\n    }\n    <\/pre>\n<h2>6. \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604\ud558\uae30<\/h2>\n<p>\ub85c\uadf8\uc544\uc6c3\ub3c4 \uacf5\ud1b5\ub41c \uc694\uad6c \uc0ac\ud56d\uc785\ub2c8\ub2e4. \uc544\ub798\uc758 \uc124\uc815\uc744 \ud1b5\ud574 \uac04\ub2e8\ud55c \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre>\n    http\n        .logout()\n        .logoutSuccessUrl(\"\/login\")\n        .invalidateHttpSession(true)\n        .clearAuthentication(true);\n    <\/pre>\n<h2>7. \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc2e4\ud589 \ubc0f \ud14c\uc2a4\ud2b8<\/h2>\n<p>\ubaa8\ub4e0 \uc124\uc815\uc744 \ub9c8\uce5c \ud6c4, \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2e4\ud589\ud558\uace0 \uc6f9 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c <code>http:\/\/localhost:8080<\/code>\ub85c \uc811\uc18d\ud574 \uc8fc\uc138\uc694. \uc815\uc0c1\uc801\uc73c\ub85c \uc124\uc815\ub418\uc5c8\ub2e4\uba74 Google \ub85c\uadf8\uc778 \ud654\uba74\uc774 \ub098\ud0c0\ub0a9\ub2c8\ub2e4. \ub85c\uadf8\uc778 \ud6c4 \uc0ac\uc6a9\uc790\uc758 \uc774\ub984\uc744 \uac00\uc838\uc624\ub294 \ud654\uba74\ub3c4 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>8. \ub9c8\ubb34\ub9ac<\/h2>\n<p>\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \ud65c\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 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. OAuth2\ub294 \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ub9e4\uc6b0 \uc77c\ubc18\uc801\uc73c\ub85c \uc0ac\uc6a9\ub418\ub294 \uc778\uc99d \ubc29\uc2dd\uc774\uba70, \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \ud1b5\ud574 \uc190\uc27d\uac8c \uc124\uc815\ud560 \uc218 \uc788\uc74c\uc744 \uc54c \uc218 \uc788\uc5c8\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c \ub354 \ubc1c\uc804\ub41c \uae30\ub2a5\ub4e4\uc744 \ucd94\uac00\ud568\uc73c\ub85c\uc368, \ubcf4\ub2e4 \uc548\uc804\ud558\uace0 \ud3b8\ub9ac\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ucd95\ud560 \uc218 \uc788\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<h2>\ucd94\uac00 \uc790\ub8cc<\/h2>\n<p>\ub354 \ub9ce\uc740 \uc815\ubcf4\ub97c \uc6d0\ud558\uc2e0\ub2e4\uba74 \uc544\ub798\uc758 \ub9c1\ud06c\ub97c \ucc38\uace0\ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4:<\/p>\n<ul>\n<li><a href=\"https:\/\/spring.io\/projects\/spring-boot\">Spring Boot \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/spring.io\/projects\/spring-security\">Spring Security \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/oauth.net\/2\/\">OAuth 2.0 \uacf5\uc2dd \uc0ac\uc774\ud2b8<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ucd5c\uadfc \uba87 \ub144 \ub3d9\uc548 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubcf4\uc548\uc131\uacfc \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc29\uc2dd\uc740 \uae09\uaca9\ud788 \ubcc0\ud654\ud558\uc600\uc2b5\ub2c8\ub2e4. \ud2b9\ud788, OAuth2\ub294 \ub9ce\uc740 \uc6f9 \uc11c\ube44\uc2a4\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc778\uc99d\uc744 \ucc98\ub9ac\ud558\ub294 \ud45c\uc900\uc73c\ub85c \uc790\ub9ac \uc7a1\uc558\uc2b5\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud558\uc5ec OAuth2\ub85c \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604 \ubc29\ubc95\uacfc \ud1a0\ud070 \ubc1c\uae09 \uc808\ucc28\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ub4dc\ub9ac\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc744 \ud1b5\ud574 OAuth2\uc758 \uae30\ubcf8 \uc6d0\ub9ac\uc640 \ud568\uaed8, \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\uc5d0 \ud544\uc694\ud55c \uae30\uc220\uc744 \uc775\ud788\uc2e4 \uc218 \uc788\uc744 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26440\/\" 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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\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-26440","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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\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\/26440\/\" \/>\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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ucd5c\uadfc \uba87 \ub144 \ub3d9\uc548 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubcf4\uc548\uc131\uacfc \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc29\uc2dd\uc740 \uae09\uaca9\ud788 \ubcc0\ud654\ud558\uc600\uc2b5\ub2c8\ub2e4. \ud2b9\ud788, OAuth2\ub294 \ub9ce\uc740 \uc6f9 \uc11c\ube44\uc2a4\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc778\uc99d\uc744 \ucc98\ub9ac\ud558\ub294 \ud45c\uc900\uc73c\ub85c \uc790\ub9ac \uc7a1\uc558\uc2b5\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud558\uc5ec OAuth2\ub85c \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604 \ubc29\ubc95\uacfc \ud1a0\ud070 \ubc1c\uae09 \uc808\ucc28\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ub4dc\ub9ac\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc744 \ud1b5\ud574 OAuth2\uc758 \uae30\ubcf8 \uc6d0\ub9ac\uc640 \ud568\uaed8, \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\uc5d0 \ud544\uc694\ud55c \uae30\uc220\uc744 \uc775\ud788\uc2e4 \uc218 \uc788\uc744 &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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/26440\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T10:52:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:42:50+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\/26440\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26440\/\"},\"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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\uae30\",\"datePublished\":\"2024-10-27T10:52:41+00:00\",\"dateModified\":\"2024-11-26T07:42:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26440\/\"},\"wordCount\":43,\"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\/26440\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26440\/\",\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \ubc1c\uae09\ubc1b\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T10:52:41+00:00\",\"dateModified\":\"2024-11-26T07:42:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26440\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26440\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26440\/#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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\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\/26440\/","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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ucd5c\uadfc \uba87 \ub144 \ub3d9\uc548 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubcf4\uc548\uc131\uacfc \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc29\uc2dd\uc740 \uae09\uaca9\ud788 \ubcc0\ud654\ud558\uc600\uc2b5\ub2c8\ub2e4. \ud2b9\ud788, OAuth2\ub294 \ub9ce\uc740 \uc6f9 \uc11c\ube44\uc2a4\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc778\uc99d\uc744 \ucc98\ub9ac\ud558\ub294 \ud45c\uc900\uc73c\ub85c \uc790\ub9ac \uc7a1\uc558\uc2b5\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud558\uc5ec OAuth2\ub85c \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604 \ubc29\ubc95\uacfc \ud1a0\ud070 \ubc1c\uae09 \uc808\ucc28\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ub4dc\ub9ac\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc744 \ud1b5\ud574 OAuth2\uc758 \uae30\ubcf8 \uc6d0\ub9ac\uc640 \ud568\uaed8, \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\uc5d0 \ud544\uc694\ud55c \uae30\uc220\uc744 \uc775\ud788\uc2e4 \uc218 \uc788\uc744 &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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/26440\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T10:52:41+00:00","article_modified_time":"2024-11-26T07:42:50+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\/26440\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26440\/"},"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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\uae30","datePublished":"2024-10-27T10:52:41+00:00","dateModified":"2024-11-26T07:42:50+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26440\/"},"wordCount":43,"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\/26440\/","url":"https:\/\/atmokpo.com\/w\/26440\/","name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \ubc1c\uae09\ubc1b\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T10:52:41+00:00","dateModified":"2024-11-26T07:42:50+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26440\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26440\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26440\/#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, \ud1a0\ud070 \ubc1c\uae09\ubc1b\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\/26440","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=26440"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26440\/revisions"}],"predecessor-version":[{"id":26441,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26440\/revisions\/26441"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}