HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
♥️
2기 최종 프로젝트 팀별 공간
/
💸
10원모아10조❗️
/
📽️
API 명세
/
google 로그인

google 로그인

Method
href
작업여부
작업여부
API 완료 예정 날짜
2022-08-08 or 08-09
담당자
얀주
API 연결여부
URL
/oauth2/authorize/google
인증 필요
 
URL로 그냥 href (페이지 이동)을 하면 됩니다.
URL 요청할 때 다음처럼 해야 합니다.
(뒤에 redirect_url 값을 붙여야 로그인 성공 후 해당 url로 리다이렉트 합니다.)
http://localhost:8080/api/v1/oauth2/authorize/google?redirect_uri=http://localhost:3000/oauth/redirect
 
 
 
로그인 성공하면 다음 주소로 리다이렉트 합니다.
로컬 실행 시
localhost:3000/oauth/redirect?access-token={access-token-value}&refresh-token={refresh-token-value}
 
서버 실행 시
http://ec2-3-39-184-232.ap-northeast-2.compute.amazonaws.com:8080/api/v1/oauth2/authorize/google