$cordovaInAppBrowser: Grabbing contents from body


#1

I’m attempting to do my own oauth for my Ionic app which is using NodeJS / Passport as the backend. I output JSON into the body of the request such as this: {token: '<insert jwt>', user: {username: 'bob'} } and I’m trying to check for the body of the in app browser every 500 ms to see if I get a token and a user. I’ve tried for almost an hour using different attempts on this forum (and others) and none of them work.