Reputation: 65
I am making a front end angular app with rails apis, but how can i store my ids and secret keys like:
Facebook app id, access token, gplus id and others..please suggest me a solution
Upvotes: 3
Views: 2284
Reputation: 387
You can store either in
HTML5 Web Storage (localStorage/sessionStorage) or Cookies
Please got through this blog post it will give comparison study of each
http://www.html5rocks.com/en/tutorials/offline/storage/
https://stormpath.com/blog/where-to-store-your-jwts-cookies-vs-html5-web-storage/
Upvotes: 1