{"width":"100%","categories":[],"url":"https://uyamazak.hatenablog.com/entry/2021/12/03/165432","author_name":"uyamazak","image_url":"https://m.media-amazon.com/images/I/5179fOXQzFL._SL500_.jpg","description":"Firebase Auth\u306eidToken(JWT)\u3092\u3001\u30b5\u30fc\u30d0\u30fc\u5074\uff08NestJS\uff09\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u4f7f\u3046\u5834\u9762\u3067\u3001 \u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u6642\u306bAuthorization\u30d8\u30c3\u30c0\u30fc\u306baccess_token\u3092\u4ed8\u4e0e\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u3002 Firebase\u306e\u30e6\u30fc\u30b6\u30fc\u306fNuxt3\u306euseState\u3067\u5165\u308c\u3066useFirebaseUser\u3067\u4f7f\u3063\u3066\u3044\u308b\u3051\u3069\u4eca\u56de\u306f\u7701\u7565\u3002 \u6700\u521d\u306fAPI\u30ea\u30af\u30a8\u30b9\u30c8\u7528\u306eaxios\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u3063\u3066\u3001baseURL\u3068\u4e00\u7dd2\u306bAuthorization\u30d8\u30c3\u30c0\u30fc\u3082\u30bb\u30c3\u30c8\u3057\u3066\u3044\u3066\u3001\u6700\u521d\u306f\u52d5\u304d\u306f\u3059\u308b\u3002 before \u671f\u9650\u5207\u308c\u306b\u306a\u308b const makeIntance = async () => { c\u2026","height":"190","type":"rich","provider_name":"Hatena Blog","published":"2021-12-03 16:54:32","version":"1.0","provider_url":"https://hatena.blog","blog_url":"https://uyamazak.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuyamazak.hatenablog.com%2Fentry%2F2021%2F12%2F03%2F165432\" title=\"axios\u3067interceptors\u3092\u4f7f\u3063\u3066\u6bce\u30ea\u30af\u30a8\u30b9\u30c8\u76f4\u524d\u306b\u30d8\u30c3\u30c0\u30fc\u3092\u30bb\u30c3\u30c8\u3059\u308b - GA\u30df\u30f3\u30c8\u81f3\u4e0a\u4e3b\u7fa9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"axios\u3067interceptors\u3092\u4f7f\u3063\u3066\u6bce\u30ea\u30af\u30a8\u30b9\u30c8\u76f4\u524d\u306b\u30d8\u30c3\u30c0\u30fc\u3092\u30bb\u30c3\u30c8\u3059\u308b","author_url":"https://blog.hatena.ne.jp/uyamazak/","blog_title":"GA\u30df\u30f3\u30c8\u81f3\u4e0a\u4e3b\u7fa9"}