Skip to content

[Notice] 토큰 발급 테스트 #15

@seoiiwon

Description

@seoiiwon

토큰 발급

Image

현재 tests/auth_test에 사용자 등록, 기존 사용자 토큰 발급 관련 테스트 코드 작성해두었습니다.
하드코딩 되어서 여러 사용자가 필요하시거나 사용자 정보 수정이 필요하시면 각 함수 안의 payload의 code 값을 수정해서 진행해주시면 됩니다.

소셜로그인 테스트 방식이 아닌 사용자 토큰 발급을 위한 테스트 이므로
https://kauth.kakao.com/oauth/authorize?response_type=code&client_id=16608549fb2aa0848980b116a644f0df&redirect_uri=http://localhost:8080/docs
소셜로그인이 필요하시면 해당 링크에서 로그인 진행 후 URL에 code= 뒤에 생성되는 인가 코드를 code에 입력해서 진행하면 됩니다.

Image Image

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions