cookie/oauth issues

I'm having some cookie/oauth issues. What I'm trying to achieve is have a new tab open up, have the user go through google's oauth flow, and upon returning to the app they should be able to make requests to our api with the cookie they receive, but.. I have no idea how to save that cookie. If I go into chrome's inspect tool I can see the cookie in the resources tab, but anything done with forge or angularjs (the js framework I'm using) doesn't include the cookie, and due to browser security I can't set it manually. Any help?

Why do you have to save it as a cookie? You have localStorage (or forge.prefs, but not sure how those work exactly).

You're in a mobile app, so the security of localStorage isn't a worry.