I have a Ruby on Rails + Devise solution in my back-end, that allows me, for what I understood, to authenticate using cookies.
Right now I am developing a Chrome extension that communicates with that back-end, and since it sends the same cookies as the web app in every request, everytime that I log in using the Chrome extension I am automatically logged in in my web app, and vice-versa.
So my question is: what would be the best way to separate them?
e.g. user A logged in on the webapp and user B logged in on the chrome extension at the same time.