You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
개발자용 인증 Bypass 프로세스
개발작업시 일일히 access_token을 발급받아 Header에 전달하기 힘드므로 "개발자용 인증 Bypass" 프로세스를 작업하였음.
Details
Header Format
Authorization: DEV {userId}
예제
// 사용자 등록 API cURL (인증 Bypass)
curl -v -X POST "http://localhost:8080/users"
-H "Authorization: DEV admin1"
// 정석 로직
curl -v -X POST "http://localhost:8080/users"
-H "Authorization: Bearer S00tVlhva3l4ZzFGX0NTdHVNRzlhQmFFak1GNTFTZ3FLdlAyQWdORmxDaXNNMGdBQUFZWmFPMGw2"
사용시 주의점
모든 API(로그인, 토큰 인코딩 제외)는 기본적으로 "사용자가 등록되어 있음"을 전제로 동작
만약, 서버에 개발자용 UserId가 등록되어 있지 않다면 테스트진행전 미리 사용자등록API를 호출하여 개발자용 UserId를 등록시켜야 한다.
The text was updated successfully, but these errors were encountered:
What is the Issues?
개발자용 인증 Bypass 프로세스
개발작업시 일일히 access_token을 발급받아 Header에 전달하기 힘드므로 "개발자용 인증 Bypass" 프로세스를 작업하였음.
Details
The text was updated successfully, but these errors were encountered: