Published on2022年9月1日axios の interseptors でリクエストの前処理を共通化するaxiosinterceptorsAuthaxios の interceptors を用いて Cognito の idToken を Bearer としてリクエストのヘッダーに差し込む処理を共通化する