반응형
테스트 하다 프로덕션으로 전환되었는데 문제가 생겼다.
refresh_token 만 빠져서 토큰이 오는 것이다. 오지 않는 것이였다.
이러면 refreshAccessToken() 함수로 access_token 을 갱신할 수 없게된다.
물론 이 현상은 정상이 아니니 해결해야한다.
가발자 개정만 문제라면 ...
https://myaccount.google.com/connections?filters=3,4&hl=ko
로그인 - Google 계정
이메일 또는 휴대전화
accounts.google.com
여기로 가서 해당 계정의 프로젝트이름을 검색해서
상세정보보기 -> 삭제 를 진행하고 다시 인증절차를 밟으면 되겠다.
유저의 일부가 이러고 있다면 ....
구글 클라우드의 OAuth2 클라이언트를 지우고 새로 등록해야할지도 모르겠다.
질문의 원본
https://stackoverflow.com/questions/52600586/cant-get-refresh-token-for-google-api-node-js
can't get refresh token for google api. Node js
I've got an Apps Script script that I am running remotely through Google's API. When I go to the link it gives me for the code to retrieve the access token, it says that the file requested does not...
stackoverflow.com
구글은 언제나 이상해
반응형