{"id":26406,"date":"2024-10-27T10:52:31","date_gmt":"2024-10-27T10:52:31","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26406"},"modified":"2024-11-26T07:44:22","modified_gmt":"2024-11-26T07:44:22","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-jwt%eb%a1%9c-%eb%a1%9c%ea%b7%b8%ec%9d%b8-%eb%a1%9c%ea%b7%b8%ec%95%84%ec%9b%83-10","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/26406\/","title":{"rendered":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<article>\n<section>\n<h2>1. \uc11c\ub860<\/h2>\n<p>\ucd5c\uadfc \ub9c8\uc774\ud06c\ub85c\uc11c\ube44\uc2a4 \uc544\ud0a4\ud14d\ucc98\uc640 RESTful API\uc758 \ubc1c\uc804\uc73c\ub85c \uc778\ud574 \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc758 \uc911\uc694\uc131\uc774 \ub354\uc6b1 \ubd80\uac01\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc624\ub298 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc744 \ud1b5\ud574 JSON Web Token(JWT)\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc778\uc99d\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\ub294 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \ud3ec\ud568\ud55c JWT \uae30\ubc18\uc758 \ud1a0\ud070 \uc81c\uacf5\uc790\ub97c \ucd94\uac00\ud558\ub294 \uac83\uc5d0 \uc911\uc810\uc744 \ub450\uace0 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>2. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780?<\/h2>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc2a4\ud504\ub9c1 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud558\uc5ec \ube60\ub974\uace0 \uc27d\uac8c \uc2a4\ud504\ub9c1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\ub3c4\ub85d \ub3d5\ub294 \ub3c4\uad6c\uc785\ub2c8\ub2e4. \ubcf5\uc7a1\ud55c XML \uc124\uc815 \uc5c6\uc774 \ub370\ubaa8 \ubc0f \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc190\uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \ub610\ud55c, \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \ub0b4\uc7a5\ud615 \uc11c\ubc84\ub97c \uc9c0\uc6d0\ud558\uc5ec \uc678\ubd80 \uc11c\ubc84\uc5d0 \ubc30\ud3ec\ud558\uc9c0 \uc54a\uace0\ub3c4 \ub85c\uceec\uc5d0\uc11c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2e4\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>3. JWT\uc758 \uc774\ud574<\/h2>\n<p>JSON Web Token(JWT)\uc740 \ub370\uc774\ud130 \uc804\uc1a1\uc744 \uc704\ud55c \uac1c\ubc29\ud615 \ud45c\uc900\uc73c\ub85c, \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84 \uac04\uc5d0 \uc548\uc804\ud558\uac8c \uc815\ubcf4\ub97c \uc804\uc1a1\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. JWT\ub294 \uc8fc\ub85c \uc778\uc99d \ubc0f \uc815\ubcf4 \uad50\ud658\uc5d0 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. JWT\ub294 \uc138 \ubd80\ubd84\uc73c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>Header (\ud5e4\ub354)<\/strong>: \ud1a0\ud070\uc758 \uc720\ud615\uacfc \uc554\ud638\ud654 \uc54c\uace0\ub9ac\uc998\uc744 \uc815\uc758\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Payload (\ud398\uc774\ub85c\ub4dc)<\/strong>: \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \uc800\uc7a5\ud558\ub294 \ubd80\ubd84\uc73c\ub85c, \uc0ac\uc6a9\uc790 ID\uc640 \uac19\uc740 \uc815\ubcf4\uac00 \ud3ec\ud568\ub429\ub2c8\ub2e4.<\/li>\n<li><strong>Signature (\uc11c\uba85)<\/strong>: \ud5e4\ub354\uc640 \ud398\uc774\ub85c\ub4dc\ub97c \uc870\ud569\ud558\uc5ec \ube44\ubc00 \ud0a4\ub85c \uc11c\uba85\ud55c \ubd80\ubd84\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h2>\n<p>\uc6b0\uc120, \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Spring Initializr \uc6f9\uc0ac\uc774\ud2b8\ub97c \ubc29\ubb38\ud558\uc5ec \uc0c8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc758 \uc885\uc18d\uc131\uc744 \ucd94\uac00\ud574\uc57c \ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>Spring Web<\/li>\n<li>Spring Security<\/li>\n<li>Spring Data JPA<\/li>\n<li>H2 Database (\ub610\ub294 \uc6d0\ud558\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4)<\/li>\n<li>jjwt (JWT \uc0ac\uc6a9\uc744 \uc704\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac)<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>5. \uc0ac\uc6a9\uc790\uc758 \uc5d4\ud2f0\ud2f0 \ud074\ub798\uc2a4 \uc0dd\uc131<\/h2>\n<p>\uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \uc800\uc7a5\ud558\uae30 \uc704\ud55c \uc5d4\ud2f0\ud2f0 \ud074\ub798\uc2a4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc740 User \uc5d4\ud2f0\ud2f0 \ud074\ub798\uc2a4\uc758 \uc608\uc785\ub2c8\ub2e4:<\/p>\n<pre>\n<code>\n@Entity\npublic class User {\n    @Id\n    @GeneratedValue(strategy = GenerationType.IDENTITY)\n    private Long id;\n\n    @Column(unique = true)\n    private String username;\n\n    private String password;\n\n    \/\/ Getter and Setter methods\n}\n<\/code>\n            <\/pre>\n<\/section>\n<section>\n<h2>6. JWT \uc720\ud2f8\ub9ac\ud2f0 \ud074\ub798\uc2a4 \uc791\uc131<\/h2>\n<p>JWT\ub97c \uc0dd\uc131\ud558\uace0 \uac80\uc99d\ud558\uae30 \uc704\ud55c \uc720\ud2f8\ub9ac\ud2f0 \ud074\ub798\uc2a4\ub97c \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre>\n<code>\n@Component\npublic class JwtUtil {\n    private String secretKey = \"mySecretKey\"; \/\/ \ube44\ubc00 \ud0a4\n\n    public String generateToken(String username) {\n        return Jwts.builder()\n                .setSubject(username)\n                .setIssuedAt(new Date(System.currentTimeMillis()))\n                .setExpiration(new Date(System.currentTimeMillis() + 10 * 60 * 1000)) \/\/ \ub9cc\ub8cc \uc2dc\uac04 \uc124\uc815\n                .signWith(SignatureAlgorithm.HS256, secretKey)\n                .compact();\n    }\n\n    public boolean validateToken(String token, String username) {\n        final String extractedUsername = extractUsername(token);\n        return (extractedUsername.equals(username) &amp;&amp; !isTokenExpired(token));\n    }\n\n    public String extractUsername(String token) {\n        return Jwts.parser().setSigningKey(secretKey).parseClaimsJws(token).getBody().getSubject();\n    }\n\n    private boolean isTokenExpired(String token) {\n        return Jwts.parser().setSigningKey(secretKey).parseClaimsJws(token).getBody().getExpiration().before(new Date());\n    }\n}\n<\/code>\n            <\/pre>\n<\/section>\n<section>\n<h2>7. \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0 \uc124\uc815<\/h2>\n<p>Spring Security\ub97c \uc124\uc815\ud558\uc5ec JWT \uae30\ubc18\uc758 \uc778\uc99d \ud504\ub85c\uc138\uc2a4\ub97c \uad6c\ud604\ud569\ub2c8\ub2e4. \uba3c\uc800, SecurityFilterChain\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<\/p>\n<pre>\n<code>\n@Configuration\n@EnableWebSecurity\npublic class SecurityConfig extends WebSecurityConfigurerAdapter {\n    @Autowired\n    private JwtRequestFilter jwtRequestFilter;\n\n    @Override\n    protected void configure(HttpSecurity http) throws Exception {\n        http.csrf().disable()\n            .authorizeRequests().antMatchers(\"\/authenticate\").permitAll()\n            .anyRequest().authenticated();\n    }\n\n    @Override\n    protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n        auth.inMemoryAuthentication().withUser(\"user\").password(passwordEncoder().encode(\"password\")).roles(\"USER\");\n    }\n\n    @Bean\n    public PasswordEncoder passwordEncoder() {\n        return new BCryptPasswordEncoder();\n    }\n\n    @Bean\n    public AuthenticationManager authenticationManagerBean() throws Exception {\n        return super.authenticationManagerBean();\n    }\n}\n<\/code>\n            <\/pre>\n<\/section>\n<section>\n<h2>8. JWT \uc694\uccad \ud544\ud130 \uc791\uc131<\/h2>\n<p>\uc0ac\uc6a9\uc790 \uc694\uccad\uc5d0\uc11c JWT\ub97c \ud544\ud130\ub9c1\ud558\uc5ec \uc778\uc99d \uc5ec\ubd80\ub97c \ud655\uc778\ud558\ub294 JWT Request Filter\ub97c \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre>\n<code>\n@Component\npublic class JwtRequestFilter extends OncePerRequestFilter {\n    @Autowired\n    private JwtUtil jwtUtil;\n\n    @Override\n    protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain)\n            throws ServletException, IOException {\n        final String authorizationHeader = request.getHeader(\"Authorization\");\n\n        String username = null;\n        String jwt = null;\n\n        if (authorizationHeader != null &amp;&amp; authorizationHeader.startsWith(\"Bearer \")) {\n            jwt = authorizationHeader.substring(7);\n            username = jwtUtil.extractUsername(jwt);\n        }\n\n        if (username != null &amp;&amp; SecurityContextHolder.getContext().getAuthentication() == null) {\n            \/\/ \uba85\uc2dc\ub41c \uc0ac\uc6a9\uc790 \uc778\uc99d \ucc98\ub9ac\n        }\n        chain.doFilter(request, response);\n    }\n}\n<\/code>\n            <\/pre>\n<\/section>\n<section>\n<h2>9. \ub85c\uadf8\uc778 \ubc0f \ud1a0\ud070 \uc0dd\uc131 \ucee8\ud2b8\ub864\ub7ec \uc791\uc131<\/h2>\n<p>\uc0ac\uc6a9\uc790\uc758 \ub85c\uadf8\uc778 \uc694\uccad\uc744 \ucc98\ub9ac\ud558\uace0, JWT\ub97c \uc0dd\uc131\ud558\ub294 \ucee8\ud2b8\ub864\ub7ec\ub97c \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre>\n<code>\n@RestController\npublic class AuthController {\n    @Autowired\n    private AuthenticationManager authenticationManager;\n\n    @Autowired\n    private JwtUtil jwtUtil;\n\n    @PostMapping(\"\/authenticate\")\n    public ResponseEntity<?> authenticate(@RequestBody AuthRequest authRequest) throws Exception {\n        try {\n            authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(authRequest.getUsername(), authRequest.getPassword()));\n        } catch (BadCredentialsException e) {\n            throw new Exception(\"\uc798\ubabb\ub41c \uc0ac\uc6a9\uc790 \uc774\ub984 \ub610\ub294 \ube44\ubc00\ubc88\ud638\", e);\n        }\n\n        final String jwt = jwtUtil.generateToken(authRequest.getUsername());\n        return ResponseEntity.ok(new AuthResponse(jwt));\n    }\n}\n<\/code>\n            <\/pre>\n<\/section>\n<section>\n<h2>10. \ub85c\uadf8\uc544\uc6c3 \uad00\ub9ac<\/h2>\n<p>JWT\uc740 \ud074\ub77c\uc774\uc5b8\ud2b8 \uce21\uc5d0\uc11c \uad00\ub9ac\ub418\uae30 \ub54c\ubb38\uc5d0 \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc740 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0\uc11c \ud1a0\ud070\uc744 \uc0ad\uc81c\ud558\uc5ec \ub2e8\uc21c\ud788 \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud558\uc9c0\ub9cc, \uc11c\ubc84 \uce21\uc5d0\uc11c \ub85c\uadf8\uc544\uc6c3\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ube14\ub799\ub9ac\uc2a4\ud2b8\ub97c \uc720\uc9c0\ud558\uc5ec \ub9cc\ub8cc\ub418\uae30 \uc804\uc5d0 \ub85c\uadf8\uc544\uc6c3\ub41c \ud1a0\ud070\uc744 \ucc28\ub2e8\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>11. \ubbf8\ub4e4\uc6e8\uc5b4 \uad6c\uc131<\/h2>\n<p>\ubbf8\ub4e4\uc6e8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc694\uccad\uc744 \uc804\ucc98\ub9ac\ud558\uace0 \ud6c4\ucc98\ub9ac\ud558\ub294 \uae30\ub2a5\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ubaa8\ub4e0 \uc694\uccad\uc5d0 \ub300\ud574 JWT\ub97c \uac80\uc0ac\ud558\uac70\ub098, \ud2b9\uc815 \uc5d4\ub4dc\ud3ec\uc778\ud2b8\uc5d0 \ub300\ud55c \uc811\uadfc\uc744 \uc81c\ud55c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>12. \ud14c\uc2a4\ud2b8\uc640 \ub514\ubc84\uae45<\/h2>\n<p>\uc0c1\ub2f9\ud55c \uc218\uc900\uc758 \ud14c\uc2a4\ud2b8\ub97c \uc801\uc6a9\ud558\uc5ec \ucf54\ub4dc\uc758 \ud488\uc9c8\uc744 \ubcf4\uc7a5\ud574\uc57c \ud569\ub2c8\ub2e4. \uac01 \uc11c\ube44\uc2a4, \ucee8\ud2b8\ub864\ub7ec \ubc0f \ub9ac\ud3ec\uc9c0\ud1a0\ub9ac\uc5d0 \ub300\ud55c \ub2e8\uc704 \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud569\ub2c8\ub2e4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 Junit\uacfc Mockito\ub97c \ud1b5\ud574 \ud6a8\uacfc\uc801\uc778 \ud14c\uc2a4\ud2b8 \ud658\uacbd\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>13. \uacb0\ub860<\/h2>\n<p>\uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc640 JWT\ub97c \uc0ac\uc6a9\ud558\ub294 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. JWT\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84 \uac04\uc758 \ud1b5\uc2e0\uc744 \uc548\uc804\ud558\uac8c \ucc98\ub9ac\ud558\ub294 \uc88b\uc740 \ubc29\ubc95\uc774\uba70, \uc774\ub97c \ud1b5\ud574 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubcf4\uc548\uc744 \ud55c\uce35 \uac15\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubc29\uc2dd\uc73c\ub85c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0 \ub300\ud55c \uc774\ud574\ub3c4\ub97c \ub192\uc774\uace0, \uc2e4\uc81c \ud504\ub85c\uc81d\ud2b8\uc5d0\uc11c\ub294 \uc774\ub7ec\ud55c \uad6c\ud604\uc744 \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uc778\uc99d \uae30\ub2a5\uc744 \ubcf4\ub2e4 \ud6a8\uc728\uc801\uc73c\ub85c \uad00\ub9ac\ud560 \uc218 \uc788\uc744 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<\/section>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \uc11c\ub860 \ucd5c\uadfc \ub9c8\uc774\ud06c\ub85c\uc11c\ube44\uc2a4 \uc544\ud0a4\ud14d\ucc98\uc640 RESTful API\uc758 \ubc1c\uc804\uc73c\ub85c \uc778\ud574 \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc758 \uc911\uc694\uc131\uc774 \ub354\uc6b1 \ubd80\uac01\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc624\ub298 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc744 \ud1b5\ud574 JSON Web Token(JWT)\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc778\uc99d\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\ub294 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \ud3ec\ud568\ud55c JWT \uae30\ubc18\uc758 \ud1a0\ud070 \uc81c\uacf5\uc790\ub97c \ucd94\uac00\ud558\ub294 \uac83\uc5d0 \uc911\uc810\uc744 \ub450\uace0 \uc788\uc2b5\ub2c8\ub2e4. 2. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780? \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc2a4\ud504\ub9c1 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26406\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\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-26406","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, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\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\/26406\/\" \/>\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, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \uc11c\ub860 \ucd5c\uadfc \ub9c8\uc774\ud06c\ub85c\uc11c\ube44\uc2a4 \uc544\ud0a4\ud14d\ucc98\uc640 RESTful API\uc758 \ubc1c\uc804\uc73c\ub85c \uc778\ud574 \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc758 \uc911\uc694\uc131\uc774 \ub354\uc6b1 \ubd80\uac01\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc624\ub298 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc744 \ud1b5\ud574 JSON Web Token(JWT)\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc778\uc99d\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\ub294 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \ud3ec\ud568\ud55c JWT \uae30\ubc18\uc758 \ud1a0\ud070 \uc81c\uacf5\uc790\ub97c \ucd94\uac00\ud558\ub294 \uac83\uc5d0 \uc911\uc810\uc744 \ub450\uace0 \uc788\uc2b5\ub2c8\ub2e4. 2. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780? \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc2a4\ud504\ub9c1 &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/26406\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T10:52:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:44:22+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=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/26406\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26406\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\ud558\uae30\",\"datePublished\":\"2024-10-27T10:52:31+00:00\",\"dateModified\":\"2024-11-26T07:44:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26406\/\"},\"wordCount\":52,\"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\/26406\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26406\/\",\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T10:52:31+00:00\",\"dateModified\":\"2024-11-26T07:44:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26406\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26406\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26406\/#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, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\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, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\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\/26406\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \uc11c\ub860 \ucd5c\uadfc \ub9c8\uc774\ud06c\ub85c\uc11c\ube44\uc2a4 \uc544\ud0a4\ud14d\ucc98\uc640 RESTful API\uc758 \ubc1c\uc804\uc73c\ub85c \uc778\ud574 \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc758 \uc911\uc694\uc131\uc774 \ub354\uc6b1 \ubd80\uac01\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc624\ub298 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc744 \ud1b5\ud574 JSON Web Token(JWT)\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc778\uc99d\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\ub294 \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \ud3ec\ud568\ud55c JWT \uae30\ubc18\uc758 \ud1a0\ud070 \uc81c\uacf5\uc790\ub97c \ucd94\uac00\ud558\ub294 \uac83\uc5d0 \uc911\uc810\uc744 \ub450\uace0 \uc788\uc2b5\ub2c8\ub2e4. 2. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780? \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc2a4\ud504\ub9c1 &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/26406\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T10:52:31+00:00","article_modified_time":"2024-11-26T07:44:22+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":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/26406\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26406\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\ud558\uae30","datePublished":"2024-10-27T10:52:31+00:00","dateModified":"2024-11-26T07:44:22+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26406\/"},"wordCount":52,"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\/26406\/","url":"https:\/\/atmokpo.com\/w\/26406\/","name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T10:52:31+00:00","dateModified":"2024-11-26T07:44:22+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26406\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26406\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26406\/#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, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ud1a0\ud070 \uc81c\uacf5\uc790 \ucd94\uac00\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":[{"id":26620,"url":"https:\/\/atmokpo.com\/w\/26620\/","url_meta":{"origin":26406,"position":0},"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3, \ud68c\uc6d0 \uac00\uc785 \uad6c\ud604, \uc758\uc874\uc131 \ucd94\uac00\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0 \uad00\ud55c \uae30\ubcf8\uc801\uc778 \ub0b4\uc6a9\uc744 \ub2e4\ub8e8\uace0, \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0\ub97c \ud1b5\ud574 \ub85c\uadf8\uc778, \ub85c\uadf8\uc544\uc6c3, \ud68c\uc6d0 \uac00\uc785 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud569\ub2c8\ub2e4. 1. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780? \uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub294 \uc2a4\ud504\ub9c1 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc2a4\ud504\ub9c1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub354\uc6b1 \uc27d\uac8c \uc124\uc815\ud558\uace0 \uc2e4\ud589\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ubcf5\uc7a1\ud55c \uc124\uc815 \uacfc\uc815\uc744 \ucd5c\uc18c\ud654\ud558\uace0, \ub0b4\uc7a5\ud615 \uc11c\ubc84\ub97c\u2026","rel":"","context":"&quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%95%a4%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26432,"url":"https:\/\/atmokpo.com\/w\/26432\/","url_meta":{"origin":26406,"position":1},"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \uc758\uc874\uc131 \ucd94\uac00\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc800\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: [\ud604\uc7ac \ub0a0\uc9dc] 1. \uc11c\ub860 \ud604\ub300 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790 \uc778\uc99d\uacfc \uad8c\ud55c \ubd80\uc5ec\ub97c \uc704\ud574 OAuth2 \ud504\ub85c\ud1a0\ucf5c\uc744 \ub9ce\uc774 \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uc774 \ud504\ub85c\ud1a0\ucf5c\uc740 \ub2e4\uc591\ud55c \ud074\ub77c\uc774\uc5b8\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc548\uc804\ud558\uace0 \uc720\uc5f0\ud55c \ubc29\uc2dd\uc73c\ub85c \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \ucc98\ub9ac\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \ud65c\uc6a9\ud558\uc5ec OAuth2\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \ub85c\uadf8\uc778\uacfc \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc548\ub0b4\ud569\ub2c8\ub2e4. 2. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\u2026","rel":"","context":"&quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%95%a4%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":38402,"url":"https:\/\/atmokpo.com\/w\/38402\/","url_meta":{"origin":26406,"position":2},"title":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc561\uc138\uc2a4 \ud1a0\ud070 \uc0dd\uc131\uacfc \uac80\uc99d","author":"root","date":"2024\ub144 11\uc6d4 01\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 FastAPI\ub294 Python\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \ud604\ub300\uc801\uc778 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ube44\ub3d9\uae30 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \uc9c0\uc6d0\ud558\uba70 \ucd5c\uc801\ud654\ub41c \uc131\ub2a5\uc744 \uc790\ub791\ud569\ub2c8\ub2e4. RESTful API\ub97c \uc27d\uac8c \uad6c\ucd95\ud560 \uc218 \uc788\ub3c4\ub85d \ub3d5\ub294 FastAPI\uc758 \ud2b9\uc9d5 \uc911 \ud558\ub098\ub294 \ub370\uc774\ud130 \uac80\uc99d\uacfc \uc790\ub3d9 \ubb38\uc11c \uc0dd\uc131 \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 FastAPI\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc561\uc138\uc2a4 \ud1a0\ud070\uc744 \uc0dd\uc131\ud558\uace0 \uac80\uc99d\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub2e4\ub8f9\ub2c8\ub2e4. \uc561\uc138\uc2a4\u2026","rel":"","context":"&quot;FastAPI\uc11c\ubc84\uac1c\ubc1c&quot;\uc5d0\uc11c","block_context":{"text":"FastAPI\uc11c\ubc84\uac1c\ubc1c","link":"https:\/\/atmokpo.com\/w\/category\/fastapi%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26670,"url":"https:\/\/atmokpo.com\/w\/26670\/","url_meta":{"origin":26406,"position":3},"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc81c\uc5b4\uc758 \uc5ed\uc804\uacfc \uc758\uc874\uc131 \uc8fc\uc785","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc790\ubc14 \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc2e0\uc18d\ud558\uac8c \ud560 \uc218 \uc788\ub3c4\ub85d \ub3d5\ub294 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc758 \ud575\uc2ec \uac1c\ub150 \uc911 \ud558\ub098\uc778 \uc81c\uc5b4\uc758 \uc5ed\uc804(Inversion of Control, IoC)\uacfc \uc758\uc874\uc131 \uc8fc\uc785(Dependency Injection, DI)\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ub450 \uac00\uc9c0 \uac1c\ub150\uc740 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uad6c\uc870\ub97c \uc5b4\ub5bb\uac8c \uc124\uacc4\ud558\uace0\u2026","rel":"","context":"&quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%95%a4%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":41939,"url":"https:\/\/atmokpo.com\/w\/41939\/","url_meta":{"origin":26406,"position":4},"title":"017. SaaS \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc544\ud0a4\ud14d\ucc98, API \uc124\uacc4\uc640 \uad00\ub9ac","author":"root","date":"2024\ub144 11\uc6d4 08\uc77c","format":false,"excerpt":"\uc791\uc131\uc77c: 2023\ub144 10\uc6d4 30\uc77c \uc800\uc790: \uc870\uad11\ud615 1. SaaS\ub780? SaaS(Software as a Service)\ub294 \ud074\ub77c\uc6b0\ub4dc\uc5d0\uc11c \ud638\uc2a4\ud305\ub418\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc778\ud130\ub137\uc744 \ud1b5\ud574 \uc81c\uacf5\ud558\ub294 \ubaa8\ub378\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub97c \ub85c\uceec\ub85c \uc124\uce58\ud558\uace0 \uad00\ub9ac\ud560 \ud544\uc694 \uc5c6\uc774 \uc6f9 \ube0c\ub77c\uc6b0\uc800\ub97c \ud1b5\ud574 \ubc14\ub85c \uc811\uadfc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc811\uadfc \ubc29\uc2dd\uc740 \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub192\uc740 \uc720\uc5f0\uc131\uacfc \ube44\uc6a9 \ud6a8\uc728\uc131\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. 2. SaaS \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc544\ud0a4\ud14d\ucc98 SaaS \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc544\ud0a4\ud14d\ucc98\ub294\u2026","rel":"","context":"&quot;Saas&quot;\uc5d0\uc11c","block_context":{"text":"Saas","link":"https:\/\/atmokpo.com\/w\/category\/saas\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25580,"url":"https:\/\/atmokpo.com\/w\/25580\/","url_meta":{"origin":26406,"position":5},"title":"\ud50c\ub7ec\ud130 \uac15\uc88c: 16.1 \ud30c\uc774\uc5b4\ubca0\uc774\uc2a4 \uc18c\uac1c","author":"root","date":"2024\ub144 10\uc6d4 26\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c \ubaa9\ucc28 1. \ud30c\uc774\uc5b4\ubca0\uc774\uc2a4\ub780? 2. \ud30c\uc774\uc5b4\ubca0\uc774\uc2a4\uc758 \uc8fc\uc694 \uae30\ub2a5 3. \ud50c\ub7ec\ud130 \ud504\ub85c\uc81d\ud2b8\uc5d0\uc11c \ud30c\uc774\uc5b4\ubca0\uc774\uc2a4 \uc124\uc815\ud558\uae30 4. Firestore \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ud0d0\uc0c9 5. \uc0ac\uc6a9\uc790 \uc778\uc99d 6. \ud478\uc2dc \uc54c\ub9bc 7. \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \ubb38\uc81c \ubc0f \ud574\uacb0\ubc95 8. \uacb0\ub860 1. \ud30c\uc774\uc5b4\ubca0\uc774\uc2a4\ub780? \ud30c\uc774\uc5b4\ubca0\uc774\uc2a4(Firebase)\ub294 \uad6c\uae00\uc774 \uc81c\uacf5\ud558\ub294 \ubaa8\ubc14\uc77c \ubc0f \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c \ud50c\ub7ab\ud3fc\uc785\ub2c8\ub2e4. \uc774 \ud50c\ub7ab\ud3fc\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758\u2026","rel":"","context":"&quot;\ud50c\ub7ec\ud130 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ud50c\ub7ec\ud130 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ed%94%8c%eb%9f%ac%ed%84%b0-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26406","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=26406"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26406\/revisions"}],"predecessor-version":[{"id":26407,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26406\/revisions\/26407"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}