I'm looking to set up a rails-api app and would like to be able to be able to access the user throughout requests.
I've read that HTTP token authentication is pretty much the way to go here, passing the token in the header of each of my requests.
What's got me a bit stumped is how I'll fetch the user every request. Should I be writing middleware to set this up or is there a gem that already does this kind of lifecycle?