주제: FCM
홈으로-
FCM Push from Apps Script: JWT Encoding and Recipient Management
한국어로 읽기 TECH INSIGHT / EXPLAINED Push delivery involves two different tokens. An OAuth access token authorizes the server to send; an FCM registration token identifies a receiving app instance. Keeping them separate makes authentication failures and recipient failures easier to handle correctly.
-
GAS에서 FCM 푸시 보내기: JWT 인코딩과 수신 토큰 관리
English version TECH INSIGHT / EXPLAINED 푸시 전송에는 서로 다른 두 종류의 토큰이 등장한다. OAuth 액세스 토큰은 서버가 보낼 권한을 나타내고, FCM 등록 토큰은 메시지를 받을 앱 인스턴스를 가리킨다. 이 둘을 구분하면 인증 오류와 수신처 오류를 서로 다른 경로로 처리할 수 있다.