Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
認証呼び出しによって返された API トークンを Flux (具体的には Redux) ストアに保存しても安全でしょうか? 私は Webpack を使用してプロジェクト内のすべてのアセットをコンパイルしました。これは、ストアを読み取ってトークンを抽出しようとするサードパーティのスクリプトからストアが範囲外になっていることを意味すると思います。
Authorization: bearer ...そして、価値があるのは、トークンがヘッダーで HTTPS 経由で送信されることです。
Authorization: bearer ...