I'm curious what the best means to implement "remember me" functionality would be when writing a client for a REST API.
I'm responsible for both the browser client (being done in angularjs) as well as the server.
One thing that occurs to me is to store auth tokens in a cookie, and simply have angularjs pull those when the app launches and attempt to use them to authenticate. I'm not sure if this would be considered insecure or just a bad idea...
Any tips on this would be hugely appreciated. I'm pretty much stumped.