일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Spring Security
- flask
- Anolog
- web
- cookie
- Hibernate
- SseEmitter
- real time web
- hanghae99
- javascript
- Stream
- Java
- spring
- WIL
- JPA
- 생명주기 콜백
- 항해99
- html
- server send event
- python
- jenkins
- jQuery
- oauth
- programmers
- DI
- JWT
- Project
- bean
- google oauth
- session
- Today
- Total
목록google oauth (2)
끄적끄적 코딩일지
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/SrG0F/btrEiv8dkr9/W9mi3Iy6yvYpbq5pifyCrK/img.png)
이 글은 저번글에서 Google Console에 OAuth 를 사용하기 위한 사전 준비를 하던 글에서 이어진다. 2022.06.08 - [Spring] - [Spring] Spring Security + OAuth2 (1) - 프로젝트 설정하기 [Spring] Spring Security + OAuth2 (1) - 프로젝트 설정하기 OAuth란? Open Authorization의 약자로써 사용자 인증을 위한 개방형 프로토콜이다. 사용자들이 Id와 Password등을 제공하지 않고도 다른 웹사이트의 자신의 정보를 조회하여 로그인 하고자 하는 어플리 blablacoding.tistory.com 위 글에서 최종적으로 Client Id와 Client 보안 비밀번호를 발급받았을 것이다. 그 정보를 applica..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/vp7hw/btrEej8xjNm/20m4OpPSGOKtCLD9ltrcu1/img.png)
OAuth란? Open Authorization의 약자로써 사용자 인증을 위한 개방형 프로토콜이다. 사용자들이 Id와 Password등을 제공하지 않고도 다른 웹사이트의 자신의 정보를 조회하여 로그인 하고자 하는 어플리케이션등에 로그인 하거나 회원가입을 쓸때 사용된다. 가장 좋은 예시가 Google이나 Naver, Kakao 등을 사용한 로그인이나 회원가입을 하는것이다. Spring에서 OAuth를 사용하려면 Spring Security와 Spring OAuth2 Client 라이브러리가 필요하다. 제일먼저 라이브러리부터 추가하도록 하자 dependencies { implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' imp..