Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

May I know, how do you guys handle authentications and "cookies"/tokens?


You might be interested in https://github.com/lynndylanhurley/ng-token-auth and https://github.com/lynndylanhurley/devise_token_auth, which together collect (what seem to be) best practices for both frontend and backend for token authentication. We're planning on using it for our startup.


Accept authentication using HTTP-BasicAuth and create a token then use the token until it expires.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: