강의

멘토링

커뮤니티

Inflearn Community Q&A

ash's profile image
ash

asked

[Code Factory] [Beginner] NestJS REST API Backend Complete Conquest Master Class - NestJS Core

Coding Token Refresh Logic

Authorization 과 Headers

Resolved

Written on

·

172

0

안녕하세요 ㅎ

강의 잘 보고 있습니다.

강의에서 access token 과 refresh token 을 사용하게 될때

postman 에서 Headers 탭을 이용하셨는데 이유가 있을까요 ?

옆에 Authorization 을 사용하지않고 Headers 를 사용하신 이유가 궁금합니다. !

javascripttypescriptrest-apinestjsbackend

Answer 1

0

codefactory님의 프로필 이미지
codefactory
Instructor

안녕하세요!

둘은 같습니다. Authorization 탭에서 결국 Header 값을 자동 생성해주는 역할을 합니다.

Authorization은 애당초 생긴 목적 자체가 인증이기 때문에 사용했을뿐 Header 탭을 사용한다고 해서 문제될건 전혀 없습니다.

감사합니다!

SJ님의 프로필 이미지
SJ
Questioner

감사합니다 !

ash's profile image
ash

asked

Ask a question