1. localhost:8080/users/oauth/state

Untitled

Untitled

  1. 뒤에 state 부분 변경 후 주소창에 입력 → accessToken 발급

https://kauth.kakao.com/oauth/authorize?client_id=387a65778152cfac269066d65fc23ab8&redirect_uri=http://localhost:8080/users/oauth/kakao&response_type=code&state=1tmqg4om7kj3989tliboi1cvjh

  1. 발급받은 accessToken을 통해 아래 실행

localhost:8080/users/generate/socket-token

Untitled

Untitled

  1. localhost:8080/ws?Authorization=30p3j1ifu9hndplai9levr0n9q → 발급 받은 소켓 토큰을 Authorization 뒤에 붙이기 → connect 이후 알맞은 메세지 보내기

Untitled