user6706
user6706

Reputation: 65

where to store the secret keys and app ids in front end angularjs app

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

Answers (1)

Rahul
Rahul

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

Related Questions