로그인 API를 만들면 제공되는 정보들은 공유하면 안되기 때문에 src/main/resources 하위 경로에 application-oauth2.yml 작성해서 각자 client-id와 client-secret 정보를 입력한다.
spring:config:activate:on-profile:localsecurity:oauth2:client:registration:google:client-id:{google 로그인 api를 만들때 발급 받은 client-id}client-secret:{google 로그인 api를 만들때 발급 받은 client-secret}redirect-uri:"http://localhost:8081/login/oauth2/code/google"authorization-grant-type:authorization_codescope:profile, emailkakao:client-id:{kakao 로그인 api를 만들때 발급 받은 client-id}redirect-uri:"http://localhost:8081/login/oauth2/code/kakao"client-authentication-method:POSTauthorization-grant-type:authorization_codescope:profile_nickname, profile_image, account_emailclient-name:Kakaonaver:client-id:{naver 로그인 api를 만들때 발급 받은 client-id}client-secret:{naver 로그인 api를 만들때 발급 받은 client-id}redirect-uri:"http://localhost:8081/login/oauth2/code/naver"authorization-grant-type:authorization_codescope:name, email, profile_imageclient-name:Naverprovider:google:authorization-uri:https://accounts.google.com/o/oauth2/v2/auth?prompt=consent&access_type=offlinetoken_uri:https://oauth2.googleapis.com/tokenuser-info-uri:https://www.googleapis.com/oauth2/v2/userinfokakao:authorization_uri:https://kauth.kakao.com/oauth/authorizetoken_uri:https://kauth.kakao.com/oauth/tokenuser-info-uri:https://kapi.kakao.com/v2/user/meuser_name_attribute:idnaver:authorization_uri:https://nid.naver.com/oauth2.0/authorizetoken_uri:https://nid.naver.com/oauth2.0/tokenuser-info-uri:https://openapi.naver.com/v1/nid/meuser_name_attribute:response