Giter Site home page Giter Site logo

oauth2withjwtlogin's Introduction

๐Ÿ“• Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„


๐ŸŽฏ ์†Œ๊ฐœ

Spring Security์™€ JWT๋ฅผ ์ด์šฉํ•˜์—ฌ ์ž์ฒด Login๊ณผ OAuth2 ๋กœ๊ทธ์ธ์„ ๊ตฌํ˜„ํ•œ ๊ฐœ์ธ ํ”„๋กœ์ ํŠธ ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.
์ฒ˜์Œ ํ”„๋กœ์ ํŠธ๋ฅผ ์ง„ํ–‰ ํ–ˆ์„ ๋•Œ ๋กœ๊ทธ์ธ ๊ธฐ๋Šฅ์„ ์ฒ˜์Œ ๋ถ€๋”ชํ˜”์—ˆ๋Š”๋ฐ,
์ž์ฒด Login๊ณผ OAuth2 ๋กœ๊ทธ์ธ์„ ํ•จ๊ป˜ ๋‹ค๋ฃฌ ์ฝ”๋“œ๋“ค์ด ๋งŽ์ด ์—†์–ด์„œ ๋งŽ์€ ๋ธ”๋กœ๊ทธ๋ฅผ ๋ณด๊ณ  ๊ตฌํ˜„ํ•ด๋ณด๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ’ป ์‚ฌ์šฉํ•œ ๊ธฐ์ˆ  ์Šคํƒ

1. Spring Boot
2. Spring Data JPA
3. Spring Security
4. JWT
5. H2

โœ… ์ƒ์„ธ ์ฝ”๋“œ ์„ค๋ช… - ๋ธ”๋กœ๊ทธ ์ฐธ๊ณ 

๊ตฌํ˜„ํ•œ ์ฝ”๋“œ๋“ค์„ ๋ธ”๋กœ๊ทธ์— ์ƒ์„ธํ•˜๊ฒŒ ๊ณผ์ •์— ๋”ฐ๋ผ ๊ธฐ๋กํ–ˆ์Šต๋‹ˆ๋‹ค.
์•„๋ž˜์˜ ์ˆœ์„œ๋Œ€๋กœ ์ดํ•ดํ•˜์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„ (1) - ํšŒ์›(User) ๊ด€๋ จ ํด๋ž˜์Šค ์ƒ์„ฑ
Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„ (2) - JWT๋ž€?
Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„ (3) - JWT ๊ด€๋ จ ํด๋ž˜์Šค ์ƒ์„ฑ / JWT ์ธ์ฆ ๋กœ์ง
Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„ (4) - ์ž์ฒด JSON ๋กœ๊ทธ์ธ ์ปค์Šคํ…€ํ•˜๊ธฐ
Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„ (5) - OAuth๋ž€? / OAuth 2.0 ์ธ์ฆ ๊ณผ์ • ์˜ˆ์‹œ
Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„ (6) - OAuth 2.0 ๋กœ๊ทธ์ธ ๊ตฌํ˜„ ์‚ฌ์ „ ์„ค์ •
Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„ (7) - OAuth 2.0 ๋กœ๊ทธ์ธ ๊ด€๋ จ ํด๋ž˜์Šค ์ƒ์„ฑ
Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„ (8) - SecurityConfig ์„ค์ • ํด๋ž˜์Šค ์ƒ์„ฑ
Spring Security + JWT๋ฅผ ์ด์šฉํ•œ ์ž์ฒด Login & OAuth2 Login API ๊ตฌํ˜„ (9) - JWT ์ž์ฒด ๋กœ๊ทธ์ธ & OAuth2 Login ๋™์ž‘ ํ…Œ์ŠคํŠธ

oauth2withjwtlogin's People

Contributors

sh111-coder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.