사용법 정리
맨날 찾으면서 하는게 귀찮아서 구글을 예시로 써놔야겠다
https://oauth.pstmn.io/v1/callback
https://oauth.pstmn.io/v1/callback
Your call is authenticated A new window should open directing you back to the Postman app. If nothing happens, check to make sure your browser allows pop-ups.
oauth.pstmn.io
https://accounts.google.com/o/oauth2/v2/auth
로그인 - Google 계정
accounts.google.com
https://oauth2.googleapis.com/token
openid profile email
이거 URL로 수정하기
이거 안하면 Authorization 헤더가 구글걸로 들어가서 401뜬다.
포스트맨 환경변수 세팅
var token = pm.response.headers.get("Authorization");
pm.environment.set('accessToken', token);
'PROJECT' 카테고리의 다른 글
[Spring] Swagger 트러블 슈팅 (0) | 2025.06.06 |
---|---|
[졸프] 출시, BM, 개선사항 (1) | 2025.06.06 |
[졸프] 3주만에 플러터로 앱 만들기! (0) | 2025.06.06 |
[졸프] Spring batch, 크롤링 트러블슈팅 (0) | 2025.06.06 |
[졸프] 데이터 수집: 네이버 지도 크롤링 + 공공데이터 - Spring Batch 활용 (0) | 2025.06.06 |