I am working on integrating the TripIt API into a project of mine. I'm new to OAuth so I'm learning this as I go. The following controller seems to be working. However, I want to make sure I'm not leaving any glaring security holes or just being stupid.
What do you guys/gals think?
If anyone had a better example, I would certainly study it as well.
Thanks for any pointers or suggestions.